mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
PM-13368 - Registration with Email Verification - Registration Finish - Add 2FA support (#11614)
This commit is contained in:
@@ -163,7 +163,12 @@ export class RegistrationFinishComponent implements OnInit, OnDestroy {
|
|||||||
null,
|
null,
|
||||||
);
|
);
|
||||||
|
|
||||||
await this.loginStrategyService.logIn(credentials);
|
const authenticationResult = await this.loginStrategyService.logIn(credentials);
|
||||||
|
|
||||||
|
if (authenticationResult?.requiresTwoFactor) {
|
||||||
|
await this.router.navigate(["/2fa"]);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.toastService.showToast({
|
this.toastService.showToast({
|
||||||
variant: "success",
|
variant: "success",
|
||||||
|
|||||||
Reference in New Issue
Block a user