mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
more services and async callthroughs for vault list/add
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
function UserService(tokenService, apiService) {
|
||||
this.tokenService = tokenService;
|
||||
this.apiService = apiService;
|
||||
|
||||
initUserService();
|
||||
};
|
||||
|
||||
!function () {
|
||||
function initUserService() {
|
||||
var _userProfile = null;
|
||||
|
||||
UserService.prototype.getUserId = function (callback) {
|
||||
@@ -90,4 +92,4 @@
|
||||
callback(profile !== null && profile.twoFactor);
|
||||
});
|
||||
};
|
||||
}();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user