Skip to content

Commit

Permalink
Merge pull request #176 from walter-lopes/bug/forgotpassword
Browse files Browse the repository at this point in the history
Corrigindo nome endpoint
  • Loading branch information
wantero authored Dec 15, 2018
2 parents 291e947 + a5d62cf commit 402c21e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ShareBook/ShareBook.Api/Controllers/AccountController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public Result<User> ChangePassword([FromBody]ChangePasswordUserVM changePassword
return _userService.ValidOldPasswordAndChangeUserPassword(user, changePasswordUserVM.NewPassword);
}

[HttpPut("ChangeUserPasswordByEmailAndHashCode")]
[HttpPut("ChangeUserPasswordByHashCode")]
[ProducesResponseType(typeof(Result<User>), 200)]
[ProducesResponseType(404)]
public IActionResult ChangeUserPasswordByHashCode([FromBody]ChangeUserPasswordByHashCodeVM changeUserPasswordByHashCodeVM)
Expand Down

0 comments on commit 402c21e

Please sign in to comment.