Fix 401 on page refresh

This commit is contained in:
Oswaldo Acauan 2017-12-18 13:52:04 -02:00
parent 0c89d81675
commit ced25948dd

View File

@ -169,14 +169,6 @@ class Auth {
resolve();
}
if (User.validated === false) {
clearTimeout(validationTimeout);
reject({
error: 401,
description: 'Authentication failed.',
});
}
c.stop();
});