``` const { user, error } = await supabase.auth.up...
# javascript
p
Copy code
const { user, error } = await supabase.auth.update({email: 'new@email.com'})
I have a profile page, where users can update their profile info. I'm able to update the data in the public 'profiles' table, but when I try to update the email for the auth table, nothing happens.
g
Are you getting email to the old or new address to confirm update?
p
no, I have that turned off
I have email confirmation on signup and the double email confirmation turned off
g
My guess without looking into is it is still required for the new email address. Double just turns off sending to old and new.
p
I'll play around and see what I find
that did it...you have to have the confirm email on for it to work...thanks for pointing me in the right direction.
g
There is discussion on being smarter about a recent login being enough, but not sure where that is at.