Login and register ok and starting requests
This commit is contained in:
1 parent
8ff29ca34e
commit
753af3874e
13 files changed
+42
-33
No files matched your search
@@ -63,7 +63,7 @@ public class InscriptionController {
|
||||
@RequestHeader("Authorization") String token,
|
||||
@RequestBody RequestState requestState)
|
||||
{
|
||||
|
||||
System.out.println(requestState);
|
||||
if (authServ.isNotIn(new Role[]{Role.InscriptionService,Role.Admin},token))
|
||||
return new UnauthorizedResponse<>(null);
|
||||
|
||||
|
||||
Reference in new issue
Block a user