mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2026-09-01 15:32:55 +08:00
c8dc8853c4
- Migrate MD5+global-salt hashing to bcrypt with transparent upgrade on login - Enforce password change in Auth middleware (allow only changepwd/logout/ws) - Generate random initial admin password on fresh install (data/initial_password.txt)
10 lines
283 B
Go
10 lines
283 B
Go
//go:build !windows
|
||
|
||
package utils
|
||
|
||
// isSystemChinese 非 Windows 平台在语言环境变量缺失时不做额外系统级判定,默认英文。
|
||
// (Linux/macOS 上语言环境通常已由 LANG/LC_* 提供,见 IsChineseEnv。)
|
||
func isSystemChinese() bool {
|
||
return false
|
||
}
|