Hi, anyone here did reset pssword on logged out state?
m
moein
02/03/2022, 4:58 PM
Any problem with
supabase.auth.api.resetPasswordForEmail(email);
?
j
jesucrypto
02/03/2022, 6:43 PM
Im having a problema with resetting password with logged out state
m
moein
02/03/2022, 9:09 PM
I don't think you are supposed to change the password in a logged out state
You call resetPassowrdForEmail which sends the link to an email then the user comes to your app with access_token so once they are logged in you change the password
j
jesucrypto
02/04/2022, 4:44 AM
Is there any chance that I can reset my password on logged out state when I forgot my password?
m
moein
02/04/2022, 8:43 AM
Not really
Cause then anyone could change your password