Factoring the model user and correcting password
This commit is contained in:
parent
c915eaa0c0
commit
6401a7d814
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ type User struct {
|
|||
func get(user User, config *ConfigFile, ldapConn *ldap.Conn) (*User, error) {
|
||||
searchReq := ldap.NewSearchRequest(
|
||||
config.UserBaseDN,
|
||||
ldap.ScopeSingleLevel,
|
||||
ldap.ScopeBaseObject,
|
||||
ldap.NeverDerefAliases,
|
||||
0,
|
||||
0,
|
||||
|
|
Loading…
Reference in a new issue