-
Notifications
You must be signed in to change notification settings - Fork 538
Closed
Labels
auth-jsRelated to the auth-js library.Related to the auth-js library.bugSomething isn't workingSomething isn't working
Description
When both email and phone number are provided during user signup, and:
- Email confirmation is enabled
- Phone confirmation is disabled
The phone number is incorrectly stored as null in the database. However, the same phone number can be successfully stored when using the updateUser method.
value of formData.adminMobile: +919996381211
value of formData.adminMobile: +919996381211
But in case of update it got updated in auth.users table
Steps to Reproduce
- Configure system with:
- Email confirmation: enabled
- Phone confirmation: disabled
- Attempt to create a new user with both email and phone number
- Check the stored user data in the database
- Attempt to update the same user with a phone number using
updateUser
Current Behavior
- During signup: Phone number is stored as
null - During update: Phone number is stored correctly
Expected Behavior
Phone number should be stored correctly in both scenarios:
- During initial user signup
- During user update
Labels
- bug
- authentication
- user-management
Metadata
Metadata
Assignees
Labels
auth-jsRelated to the auth-js library.Related to the auth-js library.bugSomething isn't workingSomething isn't working

