Merge pull request #3 from bbusse/fix-typo

setup: Fix typo in error message
This commit is contained in:
David Arnold 2021-02-11 09:09:03 -05:00 committed by GitHub
commit a903b9c88a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -234,7 +234,7 @@ func ParseStanza(c *caddy.Controller) (*Ldap, error) {
// if neither username/password nor sasl are set // if neither username/password nor sasl are set
if ldap.username == "" && !ldap.sasl { if ldap.username == "" && !ldap.sasl {
return nil, c.Err("authenticate either via username/pwassword or sasl") return nil, c.Err("authenticate either via username/password or sasl")
} }
return ldap, nil return ldap, nil