mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-10 01:28:36 +02:00
user can be authenticated when under old auth bearer token
This commit is contained in:
parent
a9fbc92943
commit
b0a7b88585
@ -89,7 +89,8 @@ function initUserService() {
|
|||||||
|
|
||||||
var self = this;
|
var self = this;
|
||||||
self.tokenService.getToken(function (token) {
|
self.tokenService.getToken(function (token) {
|
||||||
if (!token) {
|
self.tokenService.getAuthBearer(function (authBearer) {
|
||||||
|
if (!token && !authBearer) {
|
||||||
callback(false);
|
callback(false);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -98,5 +99,6 @@ function initUserService() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
});
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user