Mots de passe fuités refusés (Have I Been Pwned, k-anonymat) à l'inscription et au changement
deploy / deploy (push) Successful in 35s

Remplace l'option payante « Prevent use of leaked passwords » de Supabase :
seuls 5 caractères de l'empreinte SHA-1 sont envoyés ; en cas de panne réseau
on laisse passer. CSP connect-src, message en 18 langues, politique de
confidentialité mise à jour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
Claude committed 2026-10-10 09:06:39 +00:00
1 parent 8eda394ae3
commit b68ddf895b
22 files changed
+63 -1

No files matched your search

+1
View File
@@ -196,6 +196,7 @@ const dict: Translations = {
'auth.err.notConfirmed': '请先通过邮件里的链接验证你的邮箱。',
'auth.err.exists': '该邮箱已注册账号。',
'auth.err.weak': '密码太弱(至少{n}个字符,需混合字母和数字)。',
'auth.err.pwned': "此密码曾出现在已知的数据泄露中,请换一个。",
'auth.err.samePassword': '新密码不能与旧密码相同。',
'auth.err.emailRate': '请求太频繁了,过几分钟再试吧。',
'auth.err.rate': '尝试次数太多,过几分钟再试吧。',