Blank screen fix corrected

This commit is contained in:
VakarisZ 2019-10-30 15:11:50 +02:00
parent a6e61215f3
commit ac63797f45
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ export default class AuthService {
_isTokenExpired(token) { _isTokenExpired(token) {
try { try {
return decode(token)['exp'] + this.SECONDS_BEFORE_JWT_EXPIRES < Date.now() / 1000; return decode(token)['exp'] - this.SECONDS_BEFORE_JWT_EXPIRES < Date.now() / 1000;
} }
catch (err) { catch (err) {
return false; return false;