diff --git a/server/plugin/plg_authenticate_local/auth.go b/server/plugin/plg_authenticate_local/auth.go index 5bb9dee8..ac62a150 100644 --- a/server/plugin/plg_authenticate_local/auth.go +++ b/server/plugin/plg_authenticate_local/auth.go @@ -35,7 +35,7 @@ func (this SimpleAuth) Setup() Form { { Name: "banner", Type: "hidden", - Description: fmt.Sprintf(`
MANAGEMENT GUI: /admin/simple-user-management
+				Description: fmt.Sprintf(`
MANAGEMENT GUI: /admin/simple-user-management
 STATS:
 ┌─────────────┐   ┌──────────────┐
 │ TOTAL USERS │   │ ACTIVE USERS │
diff --git a/server/plugin/plg_authenticate_local/index.go b/server/plugin/plg_authenticate_local/index.go
index 8d7704f7..fa351135 100644
--- a/server/plugin/plg_authenticate_local/index.go
+++ b/server/plugin/plg_authenticate_local/index.go
@@ -12,8 +12,8 @@ import (
 func init() {
 	Hooks.Register.AuthenticationMiddleware("local", SimpleAuth{})
 	Hooks.Register.HttpEndpoint(func(r *mux.Router, app *App) error {
-		r.Handle("/admin/simple-user-management", http.RedirectHandler("/admin/api/simple-user-management", http.StatusSeeOther)).Methods("GET")
-		r.HandleFunc("/admin/api/simple-user-management", middleware.NewMiddlewareChain(
+		r.Handle(WithBase("/admin/simple-user-management"), http.RedirectHandler(WithBase("/admin/api/simple-user-management"), http.StatusSeeOther)).Methods("GET")
+		r.HandleFunc(WithBase("/admin/api/simple-user-management"), middleware.NewMiddlewareChain(
 			UserManagementHandler,
 			[]Middleware{middleware.AdminOnly},
 			*app,