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: 'พิมพ์อีเมลที่คุณใช้ลงทะเบียนบน Dify แล้วเราจะส่งอีเมลรีเซ็ตรหัสผ่านให้คุณ',