Add Ntfy push notifications for super admin events
Sends alerts to a configurable Ntfy topic on: new user registration, account lockout after 5 failed login attempts, and login attempts on an already-locked account. Fire-and-forget — never raises if Ntfy is down. Configure via NTFY_URL and NTFY_TOKEN in .env. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -20,3 +20,8 @@ ADMIN_PASSWORD=change_me_strong_password_here
|
||||
|
||||
# Set to true only for local development (exposes /api/docs, /api/redoc)
|
||||
DOCS_ENABLED=false
|
||||
|
||||
# Ntfy push notifications for super admin alerts (optional)
|
||||
# Use https://ntfy.sh/your-secret-topic or self-hosted URL
|
||||
NTFY_URL=
|
||||
NTFY_TOKEN=
|
||||
|
||||
Reference in New Issue
Block a user