This commit is contained in:
2020-05-13 23:15:47 +00:00
parent dc6e8113a3
commit 1fb475827b
18 changed files with 31 additions and 31 deletions

View File

@@ -21,7 +21,7 @@ namespace AyaNova.Api.Controllers
/// </summary>
[ApiController]
[ApiVersion("8.0")]
[Route("api/v{version:apiVersion}/[controller]")]
[Route("api/v{version:apiVersion}/auth")]
[Produces("application/json")]
public class AuthController : ControllerBase
{
@@ -240,7 +240,7 @@ namespace AyaNova.Api.Controllers
/// </summary>
/// <param name="changecreds"></param>
/// <returns></returns>
[HttpPost("ChangePassword")]
[HttpPost("changepassword")]
public async Task<IActionResult> ChangePassword([FromBody] AuthController.ChangePasswordParam changecreds)
{
if (!serverState.IsOpen)