fix: allow login by email case-insensitive (#7578)

A customer noted that the login by email was case-sensitive, which differs to the handling of the loginname.

This PR changes the email check to be case-insensitive (which it was already in same parts) and improve the search for this as well.
This commit is contained in:
Livio Spring
2024-03-20 16:51:26 +01:00
committed by GitHub
parent b2d7352a5a
commit 7e24a1adbc
7 changed files with 49 additions and 12 deletions

View File

@@ -103,6 +103,7 @@ type Steps struct {
s22ActiveInstancesIndex *ActiveInstanceEvents
s23CorrectGlobalUniqueConstraints *CorrectGlobalUniqueConstraints
s24AddActorToAuthTokens *AddActorToAuthTokens
s25AddLowerFieldsToVerifiedEmail *AddLowerFieldsToVerifiedEmail
}
func MustNewSteps(v *viper.Viper) *Steps {