mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-01 03:31:25 +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.