Closed kangmingtay closed 2 years ago
:tada: This issue has been resolved in version 2.6.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
After registered with email and password, wanted to update phone in same account but it update as secondary number i.e new_phone field in user auth. Help me to update number as primary i.e phone field in User Auth.
I have a nextjs app and when I set GOTRUE_SMS_AUTOCONFIRM=true
, this doesn't seem to do anything.
Where should I set this value?
@shawnmclean are you self-hosting gotrue or using supabase? if you're self-hosting, then GOTRUE_SMS_AUTOCONFIRM=true
should be set in the .env
file of the root dir that gotrue is built in
Bug report
PUT /user
endpoint doesn't allow a user to update the phone field.Solution
PUT /user
endpoint should update the phone field and also trigger sending out an OTP to verify the phone number used.GOTRUE_SMS_AUTOCONFIRM
is enabled, then thePUT /user
endpoint should update the phone field without sending out an OTP.