This commit is contained in:
@@ -127,7 +127,7 @@ namespace rockfishCore.Controllers
|
||||
|
||||
|
||||
//------------
|
||||
|
||||
|
||||
[HttpPost("{id}/changepassword")]
|
||||
public JsonResult ChangePassword([FromRoute] long id, [FromBody] dtoChangePassword cp)
|
||||
{
|
||||
@@ -161,8 +161,8 @@ namespace rockfishCore.Controllers
|
||||
|
||||
public class dtoChangePassword
|
||||
{
|
||||
public string oldpassword;
|
||||
public string newpassword;
|
||||
public string oldpassword { get; set; }
|
||||
public string newpassword { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user