This commit is contained in:
2020-06-08 23:42:40 +00:00
parent 4e13b3c9bb
commit 937e9c5907
18 changed files with 119 additions and 83 deletions

View File

@@ -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; }
}