Login and register ok and starting requests
This commit is contained in:
@ -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