mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 19:21:33 +02:00
SMTP settings endpoints (GET/POST /auth/smtp, POST /auth/smtp/test) used Depends(get_current_active_user) which always requires a logged-in user. Replaced with RequirePermissionIfAuthEnabled to match the pattern used by all other settings endpoints — accessible when auth is disabled, permission-gated when auth is enabled.