mirror of
https://github.com/bitwarden/mobile
synced 2026-01-04 09:33:16 +00:00
set private key on login
This commit is contained in:
@@ -263,6 +263,11 @@ namespace Bit.App.Services
|
||||
|
||||
private void ProcessLoginSuccess(CryptoKey key, TokenResponse response)
|
||||
{
|
||||
if(response.PrivateKey != null)
|
||||
{
|
||||
_cryptoService.SetPrivateKey(new CipherString(response.PrivateKey), key);
|
||||
}
|
||||
|
||||
_cryptoService.Key = key;
|
||||
_tokenService.Token = response.AccessToken;
|
||||
_tokenService.RefreshToken = response.RefreshToken;
|
||||
|
||||
Reference in New Issue
Block a user