mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
support user encryption key
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
var userService = $injector.get('userService');
|
||||
var cryptoService = $injector.get('cryptoService');
|
||||
|
||||
cryptoService.getKey(function (key) {
|
||||
cryptoService.getKey().then(function (key) {
|
||||
userService.isAuthenticated(function (isAuthenticated) {
|
||||
if (isAuthenticated) {
|
||||
if (!key) {
|
||||
|
||||
Reference in New Issue
Block a user