Trying a utility file

This commit is contained in:
Chris Mann 2023-07-20 12:27:35 +02:00
parent 80aaa8263b
commit 98f9238eca

View file

@ -969,7 +969,7 @@ func handleAdminCreate(w http.ResponseWriter, r *http.Request) {
} else if len(data.IdValue) == 0 { } else if len(data.IdValue) == 0 {
data.Error = "No identifier specified" data.Error = "No identifier specified"
} else { } else {
newUser = NewUser{ newUser := NewUser{
DN: data.IdType + "=" + data.IdValue + "," + super_dn, DN: data.IdType + "=" + data.IdValue + "," + super_dn,
} }
// dn := data.IdType + "=" + data.IdValue + "," + super_dn // dn := data.IdType + "=" + data.IdValue + "," + super_dn