Skip to content

Conversation

@stnguyen90
Copy link
Contributor

@stnguyen90 stnguyen90 commented Jun 1, 2023

What does this PR do?

  • Fix 500 error when a passwordless user creates an email session
  • Don't rely on isAnonymousUser to check whether to verify password
  • Update the Update Phone API to also set the password

Closes: #4975

Test Plan

Automated tests should pass

Related PRs and Issues

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

It's possible for a user to not be anonymous and not have a password.
Using passwordUpdate is a better indicator as to whether the user has
set a password or not.
This is to ensure the behavior matches the Update Email endpoint.
@stnguyen90 stnguyen90 changed the base branch from master to 1.4.x June 1, 2023 00:32
@stnguyen90 stnguyen90 marked this pull request as ready for review June 1, 2023 22:10
@stnguyen90 stnguyen90 mentioned this pull request Jun 1, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🚀 Feature: Re-hash Password on Phone Update 🐛 Bug Report: Error 500 using updateEmail when password is not set cause OAuth2

3 participants