mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
[Reset Password v1] Refactor ForcePasswordReset into AuthResult (#481)
This commit is contained in:
@@ -185,6 +185,9 @@ export class TwoFactorComponent implements OnInit, OnDestroy {
|
||||
if (response.resetMasterPassword) {
|
||||
this.successRoute = 'set-password';
|
||||
}
|
||||
if (response.forcePasswordReset) {
|
||||
this.successRoute = 'update-temp-password';
|
||||
}
|
||||
if (this.onSuccessfulLoginNavigate != null) {
|
||||
this.onSuccessfulLoginNavigate();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user