Fix 401 on page refresh
This commit is contained in:
parent
0c89d81675
commit
ced25948dd
@ -169,14 +169,6 @@ class Auth {
|
||||
resolve();
|
||||
}
|
||||
|
||||
if (User.validated === false) {
|
||||
clearTimeout(validationTimeout);
|
||||
reject({
|
||||
error: 401,
|
||||
description: 'Authentication failed.',
|
||||
});
|
||||
}
|
||||
|
||||
c.stop();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user