Skip to content
New issue

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

[v11.0.x] Auth: Force lowercase login/email for users #86985

Merged
merged 1 commit into from May 2, 2024

Conversation

eleijonmarck
Copy link
Contributor

Backport e394e16 from #86359

@eleijonmarck eleijonmarck requested review from a team as code owners April 26, 2024 11:58
@eleijonmarck eleijonmarck requested review from papagian, mildwonkey and idafurjes and removed request for a team April 26, 2024 11:58
@eleijonmarck eleijonmarck self-assigned this Apr 26, 2024
@eleijonmarck eleijonmarck added the backport A backport PR label Apr 26, 2024
@eleijonmarck eleijonmarck added this to the 11.0.x milestone Apr 26, 2024
* [WIP]: Force lowercase login/email for user CRUD

* warn and remove use of userCaseInsensitiveLogin check

* remove log warning

* reimplementation of the caseinsensitive

* need to decide if we want the conflict check or not

* remvoved the tests for conflict user by getEmail, getLogin

* added tests for user lowercase migration

* wip: emails next

* tests for email lowercasing

* review comments

* optimized login and email lookup before migrating

(cherry picked from commit e394e16)
@eleijonmarck eleijonmarck merged commit b219aa7 into v11.0.x May 2, 2024
11 checks passed
@eleijonmarck eleijonmarck deleted the backport-86359-to-v11.0.x branch May 2, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants