Skip to content

Disallow creating user with no email, phone or password - #6262

Closed
abnegate wants to merge 1 commit into
mainfrom
fix-empty-user-creation
Closed

abnegate wants to merge 1 commit into
mainfrom
fix-empty-user-creation

Conversation

@abnegate

Copy link
Copy Markdown
Member

What does this PR do?

  • Require either email or phone, and password, when creating a user

Test Plan

Added test to assert 400 if no identifiers are passed

Related PRs and Issues

#6117

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?

@stnguyen90

Copy link
Copy Markdown
Contributor

@abnegate this can be closed based on Eldad's response, right?

[...] this is the expected behavior. All this details are optional to allow you to simulate different type of users through different login methods (email+password, phone, magic URL, anonymous and more).

@abnegate abnegate closed this Oct 27, 2023
@abnegate
abnegate deleted the fix-empty-user-creation branch May 24, 2024 09:35
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.

2 participants