manage auth and add secret
This commit is contained in:
@ -30,7 +30,7 @@ func LogIn(username string, password string) (ok bool, user map[string]string) {
|
||||
GroupFilter: "(memberUid=%s)",
|
||||
Attributes: conf.LDAP.Attributes,
|
||||
}
|
||||
log.Print(ldapclient)
|
||||
|
||||
defer ldapclient.Close()
|
||||
|
||||
ok, user, err := ldapclient.Authenticate(username, password)
|
||||
|
Reference in New Issue
Block a user