Introduce manual verification state
cgen-44da69fd5f6a40efb1dfa15fa3b9597f
This commit is contained in:
parent
215ce58fde
commit
6ddd29bdbd
1 changed files with 2 additions and 1 deletions
|
|
@ -35,10 +35,11 @@ export default function Login() {
|
||||||
const [email, setEmail] = useState("");
|
const [email, setEmail] = useState("");
|
||||||
const [password, setPassword] = useState("");
|
const [password, setPassword] = useState("");
|
||||||
const [fullName, setFullName] = useState("");
|
const [fullName, setFullName] = useState("");
|
||||||
|
const [manualVerificationLink, setManualVerificationLink] = useState<string | null>(null);
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const { signIn, signUp, signInWithOAuth, user, loading, profileComplete } =
|
const { signIn, signUp, signInWithOAuth, user, loading, profileComplete } =
|
||||||
useAuth();
|
useAuth();
|
||||||
const { success: toastSuccess, error: toastError } = useAethexToast();
|
const { info: toastInfo, error: toastError } = useAethexToast();
|
||||||
|
|
||||||
// After auth resolves and a user exists, navigate to dashboard
|
// After auth resolves and a user exists, navigate to dashboard
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue