Max/Backend/ReturnUserPasswordIssue #137
@ -54,8 +54,6 @@ public class ApplicationsController {
|
|||||||
// if authed
|
// if authed
|
||||||
authorizedApps.add(Applications.Profile);
|
authorizedApps.add(Applications.Profile);
|
||||||
|
|
||||||
Role posterRole = user.getRole();
|
|
||||||
|
|
||||||
if (!authServ.isNotIn(new Role[]{Role.Teacher,Role.Student,Role.Admin},token)) {
|
if (!authServ.isNotIn(new Role[]{Role.Teacher,Role.Student,Role.Admin},token)) {
|
||||||
authorizedApps.add(Applications.Msg);
|
authorizedApps.add(Applications.Msg);
|
||||||
authorizedApps.add(Applications.Forum);
|
authorizedApps.add(Applications.Forum);
|
||||||
|
Loading…
Reference in New Issue
Block a user