Skip to content

Commit

Permalink
feat: add 'UsernameOrEmail' in change password request
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosPavajeau committed Oct 14, 2021
1 parent ff2168e commit 5a25cef
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ namespace Armory.Api.Controllers.ArmoryUsers.Requests
{
public class ChangePasswordRequest
{
public string UsernameOrEmail { get; set; }

[Required(ErrorMessage = "La contraseña antigua es requerida.")]
public string OldPassword { get; set; }

Expand Down

0 comments on commit 5a25cef

Please sign in to comment.