Files
Umbraco-CMS/src/Umbraco.Web/Models/PasswordChangedModel.cs
2018-06-29 19:52:40 +02:00

21 lines
611 B
C#

using System.ComponentModel.DataAnnotations;
namespace Umbraco.Web.Models
{
/// <summary>
/// A model representing an attempt at changing a password
/// </summary>
public class PasswordChangedModel
{
/// <summary>
/// The error affiliated with the failing password changes, null if changing was successful
/// </summary>
public ValidationResult ChangeError { get; set; }
/// <summary>
/// If the password was reset, this is the value it has been changed to
/// </summary>
public string ResetPassword { get; set; }
}
}