Fix user level for request status

pull/1/head
Florian Hartwich 2017-07-27 16:44:08 +02:00
parent 61ccd6eeb9
commit 48728321d9
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export class LoginService {
if (user && user.token) {
// store user details and jwt token in local storage to keep user logged in between page refreshes
localStorage.setItem('currentUser', JSON.stringify(user));
if (user.permission >= 3) {
if (user.permission >= 2) {
const fraction = user.squad.fraction;
this.awardingService.checkUnprocessedAwards(fraction);
this.promotionService.checkUnconfirmedPromotions(fraction);