mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-25 21:51:30 +01: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;
|
||||
self.tokenService.getToken(function (token) {
|
||||
if (!token) {
|
||||
self.tokenService.getAuthBearer(function (authBearer) {
|
||||
if (!token && !authBearer) {
|
||||
callback(false);
|
||||
}
|
||||
else {
|
||||
@ -98,5 +99,6 @@ function initUserService() {
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user