diff options
author | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-09 16:28:47 +0000 |
---|---|---|
committer | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-09 16:28:47 +0000 |
commit | cbdc8218e3a6c6641caebefaab1e4905e44590fb (patch) | |
tree | 65a5e421b61e3a1ec0d40292118317fb595ff658 /backend/api/api/Controllers/AuthController.cs | |
parent | 0e42ed714a4b54ac266a6f855e165e70ddd136cf (diff) | |
parent | 3f967d3aefd019f18dc7f464e77c889270dd7d18 (diff) |
Merge branch 'FileUpload' into 'dev'
Dodat kontroler za ucitavanje datoteka. Izbrisan auth test.
See merge request igrannonica/neuronstellar!20
Diffstat (limited to 'backend/api/api/Controllers/AuthController.cs')
-rw-r--r-- | backend/api/api/Controllers/AuthController.cs | 6 |
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"); - } } |