From 4fa8d2ba2857cbee7b8f12ea987d4eab5666ce42 Mon Sep 17 00:00:00 2001 From: Jacob Fink Date: Thu, 3 Aug 2023 13:30:45 -0400 Subject: [PATCH] [PM-2713] set user key on set password page --- src/App/Pages/Accounts/SetPasswordPageViewModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App/Pages/Accounts/SetPasswordPageViewModel.cs b/src/App/Pages/Accounts/SetPasswordPageViewModel.cs index a933988a9..2f0966786 100644 --- a/src/App/Pages/Accounts/SetPasswordPageViewModel.cs +++ b/src/App/Pages/Accounts/SetPasswordPageViewModel.cs @@ -195,6 +195,7 @@ namespace Bit.App.Pages // Set Password and relevant information await _apiService.SetPasswordAsync(request); await _stateService.SetKdfConfigurationAsync(kdfConfig); + await _cryptoService.SetUserKeyAsync(newUserKey); await _cryptoService.SetMasterKeyAsync(newMasterKey); await _cryptoService.SetMasterKeyHashAsync(localMasterPasswordHash); await _cryptoService.SetMasterKeyEncryptedUserKeyAsync(newProtectedUserKey.EncryptedString);