Added saving of LDAP settings

This commit is contained in:
BetaPictoris
2023-08-05 18:46:47 -07:00
parent 830ab090fd
commit 98be763e37
2 changed files with 29 additions and 0 deletions

No files matched your search

+1
View File
@@ -174,6 +174,7 @@ func setupAdmin(r *mux.Router, ctrl *ctrladmin.Controller) {
routUser.Handle("/logout", ctrl.HR(ctrl.ServeLogout)) // "raw" handler, updates session
routUser.Handle("/home", ctrl.H(ctrl.ServeHome))
routUser.Handle("/ldap", ctrl.H(ctrl.ServeLDAPConfig))
routUser.Handle("/ldap_do", ctrl.H(ctrl.ServeLDAPConfigDo))
routUser.Handle("/change_username", ctrl.H(ctrl.ServeChangeUsername))
routUser.Handle("/change_username_do", ctrl.H(ctrl.ServeChangeUsernameDo))
routUser.Handle("/change_password", ctrl.H(ctrl.ServeChangePassword))