Files
Umbraco-CMS/src/Umbraco.Core/Models/PasswordChangedModel.cs

21 lines
618 B
C#
Raw Normal View History

2018-06-29 19:52:40 +02:00
using System.ComponentModel.DataAnnotations;
namespace Umbraco.Cms.Core.Models
2018-06-29 19:52:40 +02:00
{
/// <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>
2022-02-16 16:03:53 +01:00
public ValidationResult? ChangeError { get; set; }
2018-06-29 19:52:40 +02:00
/// <summary>
/// If the password was reset, this is the value it has been changed to
/// </summary>
2022-02-16 16:03:53 +01:00
public string? ResetPassword { get; set; }
2018-06-29 19:52:40 +02:00
}
}