Skip to content

fix: prevent locked users from making requests to server#51

Merged
Tytack merged 1 commit into
developfrom
41-fix-prevent-locked-users-from-making-requests-to-server
Nov 25, 2025
Merged

fix: prevent locked users from making requests to server#51
Tytack merged 1 commit into
developfrom
41-fix-prevent-locked-users-from-making-requests-to-server

Conversation

@bambam955

Copy link
Copy Markdown
Owner

Changes

Added new middleware to deny backend requests from locked-out users.

Testing

  1. Open one window and log in as admin.
  2. Log into a regular account.
  3. Lock the regular account from the admin page.
  4. Go to the "my auctions" page. Verify the request is rejected and you see an error message.

@bambam955 bambam955 added this to the MVP milestone Nov 24, 2025
@bambam955 bambam955 requested a review from Tytack November 24, 2025 15:41
@bambam955 bambam955 self-assigned this Nov 24, 2025
@bambam955 bambam955 added the bug Something isn't working label Nov 24, 2025
@bambam955 bambam955 linked an issue Nov 24, 2025 that may be closed by this pull request
@bambam955

Copy link
Copy Markdown
Owner Author

@Tytack @Tidiane12275 whichever one of you can review this first is fine.

@Tytack Tytack left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for picking up this bug. Good idea to implement userFullAuth and rework the routing and the middleware folder.

@Tytack Tytack merged commit 9fad8e6 into develop Nov 25, 2025
2 checks passed
@bambam955 bambam955 deleted the 41-fix-prevent-locked-users-from-making-requests-to-server branch November 25, 2025 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: prevent locked users from making requests to server

2 participants