Class ForgotPasswordForm
Represents the form data for initiating a password reset request.
public class ForgotPasswordForm
- Inheritance
-
ForgotPasswordForm
- Inherited Members
Remarks
This form is used when a user forgets their password and needs to request a password reset link. A password reset token will be generated and sent to the provided email address.
Properties
Gets or sets the email address of the user requesting a password reset.
[Display(Name = "Email", ResourceType = typeof(Fields))]
[Required(ErrorMessageResourceName = "XRequired", ErrorMessageResourceType = typeof(Messages))]
[MaxLength(100, ErrorMessageResourceName = "XMustHaveUpToYCharacters", ErrorMessageResourceType = typeof(Messages))]
[EmailAddress(ErrorMessageResourceName = "XInvalid", ErrorMessageResourceType = typeof(Messages))]
public string? Email { get; set; }
Property Value
Remarks
This field is required and must be a valid email format with a maximum length of 100 characters, the same limit Email stores. The email must be associated with a confirmed user account to receive the reset link.