1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-08-09 20:22:51 +02:00

user can be authenticated when under old auth bearer token

This commit is contained in:
Kyle Spearrin 2017-01-23 23:51:12 -05:00
parent a9fbc92943
commit b0a7b88585

View File

@ -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() {
});
}
});
});
};
};