Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Don't assign numeric IDs for empty usernames #6690

Merged
merged 1 commit into from
Jan 13, 2020
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 12, 2020

Fix a bug where we would assign a numeric userid if somebody tried registering
with an empty username

Fix a bug where we would assign a numeric userid if somebody tried registering
with an empty username
@richvdh richvdh requested a review from a team January 12, 2020 22:02
@erikjohnston
Copy link
Member

Don't we error if people try and do this? Or am I misremembering?

@richvdh
Copy link
Member Author

richvdh commented Jan 13, 2020

I think it depends which code path you take to get to this point... there are 8 different calls to register_user and I don't think they all do the same checks.

@richvdh richvdh merged commit 2d07c73 into develop Jan 13, 2020
@richvdh richvdh deleted the rav/fix_empty_username branch December 1, 2020 12:35
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit '2d07c7377':
  Don't assign numeric IDs for empty usernames (#6690)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants