G Pas
This commit is contained in:
parent
64a82df337
commit
fb70dffbc4
1 changed files with 2 additions and 0 deletions
2
gpas.go
2
gpas.go
|
@ -93,6 +93,8 @@ func passwordLost(user User, config *ConfigFile, ldapConn *ldap.Conn) error {
|
|||
func passwordFound(user User, config *ConfigFile, ldapConn *ldap.Conn) (string, error) {
|
||||
l, err := openLdap(config)
|
||||
if err != nil {
|
||||
log.Printf("passwordFound %v", err)
|
||||
log.Printf("passwordFound %v", config)
|
||||
return "", err
|
||||
}
|
||||
if user.DN == "" && user.UID != "" {
|
||||
|
|
Loading…
Reference in a new issue