debugging reset/forgot password

This commit is contained in:
Rotimi Best
2023-09-17 02:33:29 +01:00
parent b5b0dbf792
commit 00f3e55ce9
4 changed files with 4 additions and 12 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
try {
loading = true;
const { data, error } = await supabase.auth.resetPasswordForEmail(fields.email, {
redirectTo: window.location.origin + ROUTE.RESET
redirectTo: 'https://app.classroomio.com/reset'
});
console.log('data', data);
if (error) throw error;