mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Auth: Enable case insensitive logins/emails by default (#84840)
* wip * wip * wip * wip postgres tests
This commit is contained in:
@@ -1656,7 +1656,9 @@ func readUserSettings(iniFile *ini.File, cfg *Cfg) error {
|
||||
string(roletype.RoleAdmin)})
|
||||
cfg.VerifyEmailEnabled = users.Key("verify_email_enabled").MustBool(false)
|
||||
|
||||
cfg.CaseInsensitiveLogin = users.Key("case_insensitive_login").MustBool(true)
|
||||
// Deprecated
|
||||
// cfg.CaseInsensitiveLogin = users.Key("case_insensitive_login").MustBool(true)
|
||||
cfg.CaseInsensitiveLogin = true
|
||||
|
||||
cfg.LoginHint = valueAsString(users, "login_hint", "")
|
||||
cfg.PasswordHint = valueAsString(users, "password_hint", "")
|
||||
|
||||
Reference in New Issue
Block a user