mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
storage for org billing & signup
This commit is contained in:
@@ -217,6 +217,15 @@ angular
|
||||
});
|
||||
};
|
||||
|
||||
_service.updateProfilePremium = function (isPremium) {
|
||||
return _service.getUserProfile().then(function (profile) {
|
||||
if (profile) {
|
||||
profile.premium = isPremium;
|
||||
_userProfile = profile;
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
_service.isAuthenticated = function () {
|
||||
return tokenService.getToken() !== null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user