redirect signup

This commit is contained in:
2025-01-30 16:01:38 +01:00
parent 371b37fca3
commit 28c647cac2

View File

@@ -69,6 +69,9 @@ const registrar = async () => {
const { data, error } = await supabase.auth.signUp({ const { data, error } = await supabase.auth.signUp({
email: email.value, email: email.value,
password: password.value, password: password.value,
options: {
emailRedirectTo: 'http://localhost:9000/verify-email/',
},
}) })
if (error) throw error if (error) throw error
store.user = data.user store.user = data.user