refactor(admin): move SMTP settings from user settings to admin area
Tessera CI/CD / Lint & Type Check (push) Successful in 39s
Tessera CI/CD / Tests (push) Successful in 37s
Tessera CI/CD / Build & Publish Images (push) Successful in 3m28s

SMTP configuration is an admin concern, not a per-user setting. Removed
it from the settings sidebar and relocated to /admin/smtp with a link in
the admin sidebar.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-30 14:47:44 +02:00
parent fe4e64a0ad
commit 85cd17452c
6 changed files with 16 additions and 213 deletions
@@ -58,19 +58,6 @@ export function SettingsSidebar() {
>
{t('categoryAccount')}
</Link>
<Link
href="/settings/general/smtp"
className={`flex items-center rounded-md px-2 py-1.5 text-sm transition-colors ${
isActive('/settings/general/smtp')
? 'bg-sidebar-accent text-sidebar-accent-foreground font-medium'
: 'text-sidebar-foreground hover:bg-muted'
}`}
aria-current={
isActive('/settings/general/smtp') ? 'page' : undefined
}
>
{t('categorySmtp')}
</Link>
</nav>
{/* Dashboard category — existing items unchanged */}