fix(authentication): poorly formatted log message (#3563)
This fixes an issue with a log format for LDAP.pull/3564/head
parent
841e495dca
commit
0236022145
|
@ -31,8 +31,8 @@ func (p *LDAPUserProvider) StartupCheck() (err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if p.features.Extensions.TLS && !p.config.StartTLS && !strings.HasPrefix(p.config.URL, "ldaps://") {
|
if p.features.Extensions.TLS && !p.config.StartTLS && !strings.HasPrefix(p.config.URL, "ldaps://") {
|
||||||
p.log.Error("Your LDAP Server supports TLS but you don't appear to be utilizing it. We strongly" +
|
p.log.Error("Your LDAP Server supports TLS but you don't appear to be utilizing it. We strongly " +
|
||||||
"recommend enabling the StartTLS option or using the scheme 'ldaps://' to secure connections with your" +
|
"recommend using the scheme 'ldaps://' or enabling the StartTLS option to secure connections with your " +
|
||||||
"LDAP Server.")
|
"LDAP Server.")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue