Add forgot password state and handlers
cgen-6a0c8c331a284edf9f1856c4ac343379
This commit is contained in:
parent
ad3c1a3c53
commit
46446ecac5
1 changed files with 3 additions and 1 deletions
|
|
@ -48,8 +48,10 @@ export default function Login() {
|
|||
const [manualVerificationLink, setManualVerificationLink] = useState<
|
||||
string | null
|
||||
>(null);
|
||||
const [showReset, setShowReset] = useState(false);
|
||||
const [resetEmail, setResetEmail] = useState("");
|
||||
const navigate = useNavigate();
|
||||
const { signIn, signUp, signInWithOAuth, user, loading, profileComplete } =
|
||||
const { signIn, signUp, signInWithOAuth, user, loading, profileComplete, requestPasswordReset } =
|
||||
useAuth();
|
||||
const { info: toastInfo, error: toastError } = useAethexToast();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue