This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user