fix: remove cache for method
This commit is contained in:
parent
f5739647b2
commit
c9ebddf27a
@ -165,7 +165,6 @@ public class AuthController(IOptionsSnapshot<Admin> user, AuthService auth, Pass
|
||||
[HttpGet("GetRole")]
|
||||
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
|
||||
[Authorize]
|
||||
[CacheMaxAge(0, 0, 1)]
|
||||
public ActionResult<AuthRoles> GetRole() => Ok(AuthRoles.Admin);
|
||||
|
||||
[HttpPost("RenewPassword")]
|
||||
|
Loading…
Reference in New Issue
Block a user