setup: Fix typo in error message
This commit is contained in:
parent
3edbb44fa3
commit
6ccf2fdd55
1 changed files with 1 additions and 1 deletions
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 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue