identity: add support for account email changing

This commit is contained in:
Abdullah Atta
2023-01-16 13:25:38 +05:00
parent 1b5678a26c
commit fc17e7a2fb
6 changed files with 191 additions and 354 deletions
@@ -44,10 +44,24 @@ namespace Streetwriters.Identity.Models
get; set;
}
[BindProperty(Name = "password")]
public string Password
{
get; set;
}
[BindProperty(Name = "new_email")]
public string NewEmail
{
get; set;
}
[BindProperty(Name = "verification_code")]
public string VerificationCode
{
get; set;
}
}
}