mirror of
https://github.com/FranP-code/inbox-negotiator.git
synced 2025-10-13 00:42:26 +00:00
Updated AuthForm.tsx
This commit is contained in:
committed by
GitHub
parent
fe2c8269e4
commit
b66dd9f9cb
@@ -39,6 +39,7 @@ export function AuthForm({ mode }: AuthFormProps) {
|
|||||||
|
|
||||||
if (error) throw error;
|
if (error) throw error;
|
||||||
setMessage('Check your email for the confirmation link!');
|
setMessage('Check your email for the confirmation link!');
|
||||||
|
window.location.href = '/dashboard';
|
||||||
} else {
|
} else {
|
||||||
const { error } = await supabase.auth.signInWithPassword({
|
const { error } = await supabase.auth.signInWithPassword({
|
||||||
email,
|
email,
|
||||||
|
|||||||
Reference in New Issue
Block a user