mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 10:14:35 +00:00
fix(web): enforce password strength in auth forms
Apply the same password policy to registration and password changes so operators cannot replace default credentials with another weak password and users see consistent guidance.
This commit is contained in:
@@ -363,6 +363,10 @@ web:
|
||||
success: 成功
|
||||
warning: 警告
|
||||
info: 提示
|
||||
password_empty: 密码不能为空
|
||||
password_min_length: 密码至少需要 8 位
|
||||
password_too_weak: 密码强度不足
|
||||
password_strength_hint: 密码至少 8 位,且需包含大小写字母、数字、特殊字符中的至少 2 类
|
||||
enable: 开启
|
||||
disable: 关闭
|
||||
address: 地址
|
||||
|
||||
@@ -363,6 +363,10 @@ web:
|
||||
success: Success
|
||||
warning: Warning
|
||||
info: Info
|
||||
password_empty: Password cannot be empty
|
||||
password_min_length: Password must be at least 8 characters long
|
||||
password_too_weak: Password is too weak
|
||||
password_strength_hint: Password must be at least 8 characters and include at least 2 of uppercase letters, lowercase letters, numbers, or special characters
|
||||
enable: Enable
|
||||
disable: Disable
|
||||
address: Address
|
||||
|
||||
Reference in New Issue
Block a user