first commit
Some checks failed
Build / run (push) Has been cancelled

This commit is contained in:
maher
2025-10-29 11:42:25 +01:00
commit 703f50a09d
4595 changed files with 385164 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import {useState} from 'react';
import {TwoFactorChallengePage} from '@common/auth/ui/two-factor/two-factor-challenge-page';
import {LoginPage} from '@common/auth/ui/login-page';
export function LoginPageWrapper() {
const [isTwoFactor, setIsTwoFactor] = useState(false);
if (isTwoFactor) {
return <TwoFactorChallengePage />;
} else {
return <LoginPage onTwoFactorChallenge={() => setIsTwoFactor(true)} />;
}
}