Files
MokoGitea/modules/setting
Jonathan Miller 25268d7dd7
Branch Policy Check / Verify merge target (pull_request) Successful in 1s
PR RC Release / Build RC Release (pull_request) Successful in 2s
feat: login notification via email and ntfy on successful sign-in
When a user signs in, sends notifications with username, IP address,
user agent, and timestamp. Notifications go through:
- Email to the user's registered address
- ntfy push to the configured topic

Enabled by default, configurable via app.ini:
  [login_notification]
  ENABLED = true

The notification fires asynchronously (goroutine) so it doesn't
block the login redirect. Hooks into handleSignInFull which is the
single choke point for all auth methods (password, 2FA, OAuth).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-26 11:39:44 -05:00
..
2026-02-22 08:01:43 +01:00
2023-07-04 18:36:08 +00:00
2025-10-23 08:35:48 +00:00
2025-03-31 01:53:48 -04:00
2023-02-20 16:18:26 -06:00