1
0
mirror of https://github.com/bitwarden/mobile.git synced 2025-03-13 13:30:03 +01:00

[AC-1070] Use the saved force password reset reason after 2FA login

This commit is contained in:
Shane Melton 2023-03-10 16:00:19 -08:00
parent ca62700f61
commit 672f497924
No known key found for this signature in database

View File

@ -220,7 +220,7 @@ namespace Bit.Core.Services
// Save the forcePasswordReset reason with the state service to force a password reset for the user
result.ForcePasswordReset = true;
await _stateService.SetForcePasswordResetReasonAsync(
ForcePasswordResetReason.WeakMasterPasswordOnLogin, _authedUserId);
_2faForcePasswordResetReason, _authedUserId);
}
return result;