forked from p34709852/monkey
Blank screen fix corrected
This commit is contained in:
parent
a6e61215f3
commit
ac63797f45
|
@ -98,7 +98,7 @@ export default class AuthService {
|
|||
|
||||
_isTokenExpired(token) {
|
||||
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) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue