feat(auth): throttle logins, close sessions on password change, password policy #9

Merged
shinuwa merged 1 commit from develop into main 2026-12-02 11:41:01 +00:00
Owner
  • limit login attempts per IP (5 per 15 min by default, counted before the
    password check so parallel requests cannot exceed it), 429 + Retry-After,
    failed logins logged with the client IP
  • TRUSTED_PROXIES env to honour X-Forwarded-For from the reverse proxy only
  • changing or regenerating a group password closes that group's other
    sessions; deleting a group closes all of its sessions
  • new group passwords: 12 to 256 characters and not shared with another
    group (login opens the first matching group)
  • PATCH /groups/:id/password no longer echoes the password
  • purge expired sessions every 10 minutes

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

- limit login attempts per IP (5 per 15 min by default, counted before the password check so parallel requests cannot exceed it), 429 + Retry-After, failed logins logged with the client IP - TRUSTED_PROXIES env to honour X-Forwarded-For from the reverse proxy only - changing or regenerating a group password closes that group's other sessions; deleting a group closes all of its sessions - new group passwords: 12 to 256 characters and not shared with another group (login opens the first matching group) - PATCH /groups/:id/password no longer echoes the password - purge expired sessions every 10 minutes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
shinuwa added 1 commit 2026-12-02 11:40:55 +00:00
feat(auth): throttle logins, close sessions on password change, password policy
All checks were successful
Deploy Gameservers Control / check (push) Successful in 6s
Deploy Gameservers Control / deploy (push) Has been skipped
7d89a4e646
- limit login attempts per IP (5 per 15 min by default, counted before the
  password check so parallel requests cannot exceed it), 429 + Retry-After,
  failed logins logged with the client IP
- TRUSTED_PROXIES env to honour X-Forwarded-For from the reverse proxy only
- changing or regenerating a group password closes that group's other
  sessions; deleting a group closes all of its sessions
- new group passwords: 12 to 256 characters and not shared with another
  group (login opens the first matching group)
- PATCH /groups/:id/password no longer echoes the password
- purge expired sessions every 10 minutes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
shinuwa merged commit a56a24d5b5 into main 2026-12-02 11:41:01 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: shinuwa/gameservers-control#9
No description provided.