diff options
author | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-04-30 18:42:29 +0200 |
---|---|---|
committer | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-04-30 18:42:29 +0200 |
commit | 23fc228a6e54a5f9eb2d16eebd4f68768861642b (patch) | |
tree | 440cac7a303aacb9ccce3bdb1b4f9e60382dbaa0 /backend/api/api/Controllers/AuthController.cs | |
parent | 1c723f051d723a743718f11c69e39b7913235bb7 (diff) | |
parent | 9b4ac5f9535c02d1ec8288a2b20bea4fd00ed53d (diff) |
Mergovane grane za guest-Korisnik-Ispravka i redesign. Sredjeni konflikti.
Diffstat (limited to 'backend/api/api/Controllers/AuthController.cs')
-rw-r--r-- | backend/api/api/Controllers/AuthController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/api/api/Controllers/AuthController.cs b/backend/api/api/Controllers/AuthController.cs index 901454e1..df8a514c 100644 --- a/backend/api/api/Controllers/AuthController.cs +++ b/backend/api/api/Controllers/AuthController.cs @@ -45,7 +45,7 @@ namespace api.Controllers } [HttpPost("renewJwt")] - [Authorize(Roles = "User")] + [Authorize(Roles = "User,Guest")] public async Task<ActionResult<string>> RenewJwt() { var authorization = Request.Headers[HeaderNames.Authorization]; |