Update Login page to use OAuth authentication
cgen-6670178761f040beb30d5fafd4930a87
This commit is contained in:
parent
c384c15a2d
commit
31c5ceec3d
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ export default function Login() {
|
|||
const [password, setPassword] = useState("");
|
||||
const [fullName, setFullName] = useState("");
|
||||
const navigate = useNavigate();
|
||||
const { signIn, signUp, user, loading } = useAuth();
|
||||
const { signIn, signUp, signInWithOAuth, user, loading } = useAuth();
|
||||
|
||||
// Redirect if already logged in
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue