style: using is struct to handle all judgements global envs

This commit is contained in:
2026-04-02 21:38:50 +08:00
parent aa22b04a1f
commit 78bd1cb3cc
5 changed files with 48 additions and 27 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ func isValidPassword(password string) bool { // Validate password complexity and
}
func ValidateTimeStamp(header http.Header) bool {
if isDebug {
if is.debug {
return true
}