Back

[SOLVED] Why does updatePhone require a password?

  • 0
  • Accounts
whataboutno13
4 Aug, 2023, 13:50

I am building an app which only uses the phone number authenticate users. Now I wanted to implement a part where they can change their phone number, but a password is required which my users do not have.

This requirement of the password does not make sense to me, can someone explain? πŸ˜…

TL;DR
The user is questioning why the `updatePhone` function requires a password when they are building an app that only uses phone numbers to authenticate users. It was mentioned that this issue has already been addressed and will be released in version 1.4.x. In the meantime, they can try creating a cloud function and update the user's phone using the `Users` SDK.
Binyamin
4 Aug, 2023, 14:30

That's indeed interesting, You may want to open issue regarding that matter

For now you can try create a cloud function and update the user phone using the Users SDK https://appwrite.io/docs/server/users?sdk=nodejs-default#usersUpdatePhone

Guille
4 Aug, 2023, 15:17

This issue has been already addressed and will be released in v 1.4.x, check this PR: https://github.com/appwrite/appwrite/pull/5621

whataboutno13
5 Aug, 2023, 16:20

Alright thanks πŸ˜„

joeyouss
8 Aug, 2023, 10:17

[SOLVED] Why does updatePhone require a password?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more