Added LDAP route

This commit is contained in:
BetaPictoris
2023-08-05 16:43:03 -07:00
parent c5b35a6ff1
commit ae9f95aa75
2 changed files with 10 additions and 0 deletions

No files matched your search

+1
View File
@@ -173,6 +173,7 @@ func setupAdmin(r *mux.Router, ctrl *ctrladmin.Controller) {
routUser.Use(ctrl.WithUserSession)
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("/change_username", ctrl.H(ctrl.ServeChangeUsername))
routUser.Handle("/change_username_do", ctrl.H(ctrl.ServeChangeUsernameDo))
routUser.Handle("/change_password", ctrl.H(ctrl.ServeChangePassword))