Logo
Explore Help
Register Sign In
yv01p/Umbraco-CMS
1
0
Fork 0
You've already forked Umbraco-CMS
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
f1717a17f5147ca120f33b458d7855025153fdd2
Umbraco-CMS/src/Umbraco.Core/Models/SimpleValidationModel.cs

17 lines
436 B
C#
Raw Normal View History

Netcore: Fixes issues with user invites (#9616) * AB9629 Fixes issues with user invites - Issue with the generated link in the invite email - Allow anonymous access to CurrentUserController.PostSetInvitedUserPassword, as it is used by users not logged in - Allow anonymous access to AuthenticationController.GetPasswordConfig, as this is used to set a password for newly invited users, before they login * Fix issues with invite flow * Fix minor typos * Fixed issue with validation response and remove/change avatar * Fix issue with disable users, after all enums are handled like strings * Fix tests * Fix other validation issue * Fix yet another validation issue Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-01-12 16:15:19 +01:00
using System.Collections.Generic;
namespace Umbraco.Core.Models
{
public class SimpleValidationModel
{
public SimpleValidationModel(IDictionary<string, object> modelState, string message = "The request is invalid.")
{
Message = message;
ModelState = modelState;
}
public string Message { get; }
public IDictionary<string, object> ModelState { get; }
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 39ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API