Class PasswordResetConfirmDto
DTO for confirming password reset with new password
Inherited Members
Namespace: OEMS.Core.Application.DTOs.Login
Assembly: OEMS.Core.dll
Syntax
public class PasswordResetConfirmDto
Properties
ConfirmPassword
Confirmation of new password
Declaration
[Required(ErrorMessage = "Passwort-Bestätigung ist erforderlich")]
[Compare("NewPassword", ErrorMessage = "Die Passwörter stimmen nicht überein")]
public string ConfirmPassword { get; set; }
Property Value
Type | Description |
---|---|
string |
NewPassword
New password
Declaration
[Required(ErrorMessage = "Neues Passwort ist erforderlich")]
[StringLength(100, MinimumLength = 8, ErrorMessage = "Das Passwort muss mindestens 8 Zeichen lang sein")]
public string NewPassword { get; set; }
Property Value
Type | Description |
---|---|
string |
Token
The password reset token
Declaration
[Required(ErrorMessage = "Token ist erforderlich")]
public string Token { get; set; }
Property Value
Type | Description |
---|---|
string |