mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
Auth: Add caseinsensitive check for ingestion command (#59129)
add: check for caseinsensitive configuration and have that on during ingestion
This commit is contained in:
parent
a4a5307722
commit
8a0e0584ba
@ -36,6 +36,10 @@ func initConflictCfg(cmd *utils.ContextCommandLine) (*setting.Cfg, error) {
|
||||
HomePath: cmd.HomePath(),
|
||||
Args: append(configOptions, "cfg:log.level=error"), // tailing arguments have precedence over the options string
|
||||
})
|
||||
if !cfg.CaseInsensitiveLogin {
|
||||
logger.Info("Case Insensitive Login is not enabled, setting to true to not introduce any more conflicts")
|
||||
cfg.CaseInsensitiveLogin = true
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user