From 372cbb34fe20882549bb0bba569b5da96081d507 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 11 Dec 2020 22:03:31 +0200 Subject: Added some comments to Jwt authentication --- API/Controllers/UserController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'API/Controllers/UserController.cs') 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 GetById(int id) { return await this._service.GetUserById(id); -- cgit v1.2.3