fix(authentication): poorly formatted log message (#3563)

This fixes an issue with a log format for LDAP.
This commit is contained in:
James Elliott 2022-06-21 10:56:20 +10:00 committed by GitHub
parent 841e495dca
commit 0236022145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ 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.")
} }