Files
Umbraco-CMS/src/Umbraco.Core/Models/PasswordChangedModel.cs
Mole 21b0a7ffae New Backoffice: Fix feedback to users controller (#14031)
* Add specific not found results

* Add tests for the enable/disable not found tweak

* Cache ids and key in UserIdKeyResolver

* Don't cache null keys

* BackOffice not Backoffice

* Move fetching the user out of the ChangePasswordUsersController

* Move resolving user out of SetAvatar

* Move resolving user out of Update

* Return more specific notfound in bykey

* Use ErrorResult for all endpoints with unknown errors

* Split integration tests

* Add mappers

* Use ?: consistently

* Add reuseable iso code validator

* Validate ISO code

* Update supressions

* Use method from base to get current user key

* Rename ISo to Iso

* Use keys in services instead of user groups + Added a couple of new validations

---------

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2023-04-04 15:41:12 +02:00

16 lines
439 B
C#

using System.ComponentModel.DataAnnotations;
using Umbraco.Cms.Core.Models.Membership;
namespace Umbraco.Cms.Core.Models;
/// <summary>
/// A model representing an attempt at changing a password
/// </summary>
public class PasswordChangedModel : ErrorMessageResult
{
/// <summary>
/// If the password was reset, this is the value it has been changed to
/// </summary>
public string? ResetPassword { get; set; }
}