aboutsummaryrefslogtreecommitdiff
path: root/backend/api/api/Controllers/AuthController.cs
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-04-30 18:42:29 +0200
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-04-30 18:42:29 +0200
commit23fc228a6e54a5f9eb2d16eebd4f68768861642b (patch)
tree440cac7a303aacb9ccce3bdb1b4f9e60382dbaa0 /backend/api/api/Controllers/AuthController.cs
parent1c723f051d723a743718f11c69e39b7913235bb7 (diff)
parent9b4ac5f9535c02d1ec8288a2b20bea4fd00ed53d (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.cs2
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];