2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 07:57:21 +08:00

feat: 一堆调整

This commit is contained in:
2025-12-01 19:37:19 +08:00
parent a64a1ba5c8
commit 5fdce07190
28 changed files with 304 additions and 122 deletions

View File

@@ -27,7 +27,7 @@ func MustLogin(t *gotext.Locale, conf *koanf.Koanf, session *sessions.Manager, u
"/api/user/logout",
"/api/user/is_login",
"/api/user/is_2fa",
"/api/dashboard/panel",
"/api/home/panel",
}
return func(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {