ch prefix

This commit is contained in:
2026-08-18 00:59:32 +05:00
parent dbb6f7bda9
commit 25e5068c8b
2446 changed files with 393356 additions and 455 deletions

View File

View File

@@ -74,7 +74,7 @@ func AdminPageAuth() gin.HandlerFunc {
claims, ok := adminClaimsFromRequest(c)
if !ok {
ClearAuthCookies(c)
c.Redirect(http.StatusFound, "/admin/login")
c.Redirect(http.StatusFound, "/M0n1t0r/login")
c.Abort()
return
}
@@ -94,7 +94,7 @@ func AdminGuestOnly() gin.HandlerFunc {
}
c.Set("id", fmt.Sprint(claims["id"]))
c.Redirect(http.StatusFound, "/admin")
c.Redirect(http.StatusFound, "/M0n1t0r")
c.Abort()
}
}