Appearance
Documentation / react-auth / useLoginWithEmail
Function: useLoginWithEmail()
useLoginWithEmail():
UseLoginWithEmail
Use this hook to log the user in with email, without using any Privy UIs.
Returns
sendCode - [sendCode]([object Object]) sends a one-time-code to the user's email address.
loginWithCode - [loginWithCode]([object Object]) - logs a user in with a one-time-code, maximum 5 attempts.