security: Fix XSS vulnerability in authentication check-code pages (#23295)

This commit is contained in:
yyh 2025-08-04 12:48:38 +08:00 • committed by GitHub
commit 54c8bd29ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 248 additions and 36 deletions

View file

@ -79,7 +79,6 @@ const translation = {
validate: '验证',
checkCode: {
checkYourEmail: '验证您的电子邮件',
tips: '验证码已经发送到您的邮箱 <strong>{{email}}</strong>',
validTime: '请注意验证码 5 分钟内有效',
verificationCode: '验证码',
verificationCodePlaceholder: '输入 6 位验证码',
@ -89,6 +88,7 @@ const translation = {
useAnotherMethod: '使用其他方式登录',
emptyCode: '验证码不能为空',
invalidCode: '验证码无效',
tipsPrefix: '我们发送一个验证码到',
},
resetPassword: '重置密码',
resetPasswordDesc: '请输入您的电子邮件地址以重置密码。我们将向您发送一封电子邮件。',