* 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>
16 lines
439 B
C#
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; }
|
|
}
|