feat(auth): 添加忘记密码功能

- 添加忘记密码页面,支持通过邮箱重置密码
- 添加重置密码页面
- 登录页面添加忘记密码链接
- 添加邮件发送功能
- 完善所有8种语言的翻译 (en-US, zh-CN, ja-JP, ko-KR, de-DE, fr-FR, it-IT, ug-CN)
This commit is contained in:
2026-03-09 20:45:18 +08:00
parent d2a3d32376
commit 5406543cbe
15 changed files with 558 additions and 19 deletions

View File

@@ -21,6 +21,7 @@
"lucide-react": "^0.562.0",
"next": "16.1.1",
"next-intl": "^4.7.0",
"nodemailer": "^8.0.2",
"pg": "^8.16.3",
"react": "19.2.3",
"react-dom": "19.2.3",
@@ -36,6 +37,7 @@
"@eslint/eslintrc": "^3.3.3",
"@tailwindcss/postcss": "^4.1.18",
"@types/node": "^25.0.3",
"@types/nodemailer": "^7.0.11",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
"@typescript-eslint/eslint-plugin": "^8.51.0",