SMTP server, port, user, password and from address are now Hub settings in the database instead of SMTP_* in .env. The password is encrypted with HUB_ENCRYPTION_KEY and never sent to the browser; a blank field keeps it. POST /api/admin/settings/smtp-test logs in with the form's values (saved or not) and sends a test email, returning the server's reason on failure; it is rate limited and audited. On first start an existing SMTP_* setup is copied into Settings once. The audit log no longer records the SMTP password. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls1vMaqhrehXcHJe32jLL9
30 lines
651 B
JSON
30 lines
651 B
JSON
{
|
|
"name": "events-hub-frontend",
|
|
"version": "1.2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev -p 3200",
|
|
"build": "next build",
|
|
"start": "next start -p 3200",
|
|
"lint": "eslint src"
|
|
},
|
|
"dependencies": {
|
|
"lucide-react": "^0.536.0",
|
|
"next": "^15.5.24",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"autoprefixer": "^10.4.21",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "^15.5.24",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "3.4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|