setup: Fix typo in error message
This commit is contained in:
parent
3edbb44fa3
commit
6ccf2fdd55
2
setup.go
2
setup.go
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user