Skip to content

Commit 3718946

Browse files
committed
feat(login): update TFA condition check for improved login flow
1 parent d6ad7c4 commit 3718946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/app/shared/components/auth/login/login.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export class LoginComponent implements OnInit {
135135
this.logged = true;
136136
this.startLogin = false;
137137
this.spinner.show();
138-
} else if (data.tfaRequired && !!data.method ) {
138+
} else if (data.tfaConfigured && !!data.method ) {
139139
this.spinner.show();
140140
this.router.navigate(['/totp'])
141141
.then(() => this.spinner.hide());

0 commit comments

Comments
 (0)