diff --git a/admin.go b/admin.go index 1f18810..2cd8d33 100644 --- a/admin.go +++ b/admin.go @@ -1026,7 +1026,7 @@ func handleAdminCreate(w http.ResponseWriter, r *http.Request) { if template == "ml" { http.Redirect(w, r, "/admin/mailing/"+data.IdValue, http.StatusFound) } else { - http.Redirect(w, r, "/admin/ldap/"+dn, http.StatusFound) + http.Redirect(w, r, "/admin/ldap/"+newUser.DN, http.StatusFound) } // } }