gofmt handlers
This commit is contained in:
@@ -170,7 +170,7 @@ func (c *Controller) ServeLDAPConfigDo(r *http.Request) *Response {
|
||||
baseDN := r.FormValue("base_dn")
|
||||
filter := r.FormValue("filter")
|
||||
|
||||
if bindUID == "" || bindPSWD == ""|| port == "" || baseDN == "" || filter == "" {
|
||||
if bindUID == "" || bindPSWD == "" || port == "" || baseDN == "" || filter == "" {
|
||||
return &Response{
|
||||
redirect: r.Referer(),
|
||||
flashW: []string{"please provide a bind username and password, port, base CN, and filter"},
|
||||
|
||||
Reference in New Issue
Block a user