aboutsummaryrefslogtreecommitdiff
path: root/backend/api/api/Controllers/AuthController.cs
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-03-09 00:20:46 +0100
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-03-09 00:20:46 +0100
commit3f967d3aefd019f18dc7f464e77c889270dd7d18 (patch)
tree5143ae08a371bceebcbfaeae277bb69cec328a09 /backend/api/api/Controllers/AuthController.cs
parent0240854fb119a1bbbf799daa11c978783331ecd4 (diff)
Dodat kontroler za ucitavanje datoteka. Izbrisan auth test.
Diffstat (limited to 'backend/api/api/Controllers/AuthController.cs')
-rw-r--r--backend/api/api/Controllers/AuthController.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/backend/api/api/Controllers/AuthController.cs b/backend/api/api/Controllers/AuthController.cs
index c74c579d..01354f87 100644
--- a/backend/api/api/Controllers/AuthController.cs
+++ b/backend/api/api/Controllers/AuthController.cs
@@ -30,12 +30,6 @@ namespace api.Controllers
return Ok(_auth.Login(user));
}
- [HttpGet("Auth")]
- [Authorize(Roles ="User")]
- public async Task<ActionResult<string>> TestAuth()
- {
- return Ok("works");
- }
}