mirror of https://github.com/kortix-ai/suna.git
fix(auth): temporarily disable redirection for new users without MFA enrolled
This commit is contained in:
parent
7b66d6d58c
commit
87ec0230c5
|
@ -64,7 +64,8 @@ export function BackgroundAALChecker({
|
||||||
if (current_level === "aal1" && next_level === "aal1") {
|
if (current_level === "aal1" && next_level === "aal1") {
|
||||||
// New user has no MFA enrolled - redirect to enrollment
|
// New user has no MFA enrolled - redirect to enrollment
|
||||||
console.log('Background: New user without MFA enrolled, redirecting to phone verification');
|
console.log('Background: New user without MFA enrolled, redirecting to phone verification');
|
||||||
router.push(redirectTo);
|
// Temporarily disabled
|
||||||
|
// router.push(redirectTo);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// If new user has MFA enrolled, follow standard AAL flow below
|
// If new user has MFA enrolled, follow standard AAL flow below
|
||||||
|
|
Loading…
Reference in New Issue