mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
crypto adjustments for new account enc key
This commit is contained in:
@@ -35,6 +35,10 @@ angular
|
||||
tokenService.setRefreshToken(response.refresh_token);
|
||||
cryptoService.setKey(key);
|
||||
|
||||
if (response.Key) {
|
||||
cryptoService.setEncKey(response.Key, key);
|
||||
}
|
||||
|
||||
if (response.PrivateKey) {
|
||||
cryptoService.setPrivateKey(response.PrivateKey, key);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user