We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Ziggurat foundation converts usernames to lowercase before looking them up in the database: https://github.com/ergo/ziggurat_foundations/blob/0.9.1/ziggurat_foundations/models/services/user.py#L326-L328
This means:
To Reproduce Steps to reproduce the behavior:
Expected behavior
Users whose usernames differ in terms of capitalization only, should be treated as distinct users in all parts of the application, including logins.
The text was updated successfully, but these errors were encountered:
Is the wrong UserService used somewhere? This implementation that overrides and extends by_user_name should be used instead:
UserService
by_user_name
Magpie/magpie/models.py
Line 434 in c6909c1
Sorry, something went wrong.
Oh, never mind. I just saw the super(UserSearchService, cls).by_user_name(...) call.
super(UserSearchService, cls).by_user_name(...)
@fmigneault I've added a PR to fix this here: #596
I don't know if you saw it buy I'm not a member or this github organization so I can't request a reviewer
@fmigneault I've added a PR to fix this here: #596 I don't know if you saw it buy I'm not a member or this github organization so I can't request a reviewer
@mishaschwartz You have write access to this repo now. For future PR, you can push directly to this repo, no need to use your fork anymore.
user_name
User
fmigneault
Successfully merging a pull request may close this issue.
Describe the bug
Ziggurat foundation converts usernames to lowercase before looking them up in the database: https://github.com/ergo/ziggurat_foundations/blob/0.9.1/ziggurat_foundations/models/services/user.py#L326-L328
This means:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Users whose usernames differ in terms of capitalization only, should be treated as distinct users in all parts of the application, including logins.
The text was updated successfully, but these errors were encountered: