feat: increase password max to 256, fix i18n, and force re-login #83

- Raise password maximum length from 32 to 256 characters
- fix profileSchema to accept `t` for proper internationalization
- Invalidate user's WebUI token on password change, requiring re-login
This commit is contained in:
rustmailer
2025-12-30 11:05:07 +08:00
parent c01872284e
commit 62d956c7d6
23 changed files with 66 additions and 54 deletions
+2 -2
View File
@@ -829,7 +829,7 @@
},
"password": {
"min": "يجب أن تكون كلمة المرور 8 أحرف على الأقل",
"max": "يجب ألا تزيد كلمة المرور عن 32 حرفًا"
"max": "يجب ألا تزيد كلمة المرور عن 256 حرفًا"
}
}
}
@@ -1238,7 +1238,7 @@
"ip_invalid": "تم اكتشاف عنوان IP غير صالح",
"password_required": "كلمة المرور مطلوبة",
"password_min": "8 أحرف على الأقل",
"password_max": "32 حرفاً كحد أقصى"
"password_max": "256 حرفاً كحد أقصى"
},
"toast": {
"updated": "تم تحديث المستخدم",