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