|
@@ -466,8 +466,7 @@ func (ldap *ldapHandler) HandleSetPassword(w http.ResponseWriter, r *http.Reques
|
|
|
ldap.ag.CreateUserAccount(username, password, convertedInfo.EquivGroup)
|
|
|
ldap.ag.Logger.LogAuth(r, true)
|
|
|
ldap.ag.LoginUserByRequest(w, r, username, false)
|
|
|
- http.Redirect(w, r, "index.html", 301)
|
|
|
- //common.SendOK(w)
|
|
|
+ common.SendOK(w)
|
|
|
return
|
|
|
} else {
|
|
|
//if exist then return error
|