Skip to content

feat: add account lockout after repeated failed login attempts (Close…#93

Merged
Uyoxy merged 3 commits into
stellarspend:mainfrom
ghost-cy829:fix/issue-69-account-lockout
Jun 21, 2026
Merged

feat: add account lockout after repeated failed login attempts (Close…#93
Uyoxy merged 3 commits into
stellarspend:mainfrom
ghost-cy829:fix/issue-69-account-lockout

Conversation

@ghost-cy829

Copy link
Copy Markdown
Contributor

closes #69

{2D57F563-53C5-4BEA-9F1F-624A770E4294}

…stellarspend#69)

- Add failedLoginAttempts and lockedUntil fields to User entity
- Lock account after 5 failed attempts
- Unlock after 15 minutes
- Return 423 status with unlock time
- Reset counter on successful login
- Add unit tests for all lockout scenarios
@ghost-cy829

Copy link
Copy Markdown
Contributor Author

The CI / Lint failure is from pre-existing errors in savings.controller.ts and app.e2e-spec.ts. These are not related to my changes.

@Uyoxy Uyoxy merged commit 553938f into stellarspend:main Jun 21, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Title: Add account lockout after repeated failed login attempts

2 participants