aboutsummaryrefslogtreecommitdiff
path: root/API/Controllers/UserController.cs
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2020-12-11 22:03:31 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2020-12-11 22:03:31 +0200
commit372cbb34fe20882549bb0bba569b5da96081d507 (patch)
treeb110961342a1cefcee848ab7043b57065dc47873 /API/Controllers/UserController.cs
parentd8f253c6710cb23c632d3fc8a31d4d7d1ee0b9ff (diff)
downloadDevHive-372cbb34fe20882549bb0bba569b5da96081d507.tar
DevHive-372cbb34fe20882549bb0bba569b5da96081d507.tar.gz
DevHive-372cbb34fe20882549bb0bba569b5da96081d507.zip
Added some comments to Jwt authentication
Diffstat (limited to 'API/Controllers/UserController.cs')
-rw-r--r--API/Controllers/UserController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/API/Controllers/UserController.cs b/API/Controllers/UserController.cs
index eda4a5a..8618c1b 100644
--- a/API/Controllers/UserController.cs
+++ b/API/Controllers/UserController.cs
@@ -40,7 +40,7 @@ namespace API.Controllers
//Read
[HttpGet]
- [Authorize(Roles = UserRoles.Admin)]
+ [Authorize(Roles = UserRoles.Admin)] // Functionality, only for testing purposes
public async Task<IActionResult> GetById(int id)
{
return await this._service.GetUserById(id);