Explorar el Código

Update ldap.go

AY's Macbook Pro hace 3 años
padre
commit
909f16deb7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mod/auth/ldap/ldap.go

+ 1 - 1
mod/auth/ldap/ldap.go

@@ -439,7 +439,7 @@ func (ldap *ldapHandler) HandleSetPassword(w http.ResponseWriter, r *http.Reques
 				return
 			}
 			convertedInfo := ldap.convertGroup(ldapUser)
-			ldap.ag.CreateUserAccount(username, password, convertedInfo.Group)
+			ldap.ag.CreateUserAccount(username, password, convertedInfo.EquivGroup)
 			common.SendOK(w)
 			return
 		} else {