Skip to content

refactor(admin): implement immediate session invalidation and logout the user - #197

Merged
OmarHamza22 merged 2 commits into
developmentfrom
M6-M3-Integration
May 2, 2026
Merged

OmarHamza22 merged 2 commits into
developmentfrom
M6-M3-Integration

Conversation

@Beshoy205

Copy link
Copy Markdown
Contributor

No description provided.

Beshoy205 added 2 commits May 3, 2026 00:34
…for suspended users with Run prettier

- Added real-time suspension checks to both REST and Socket.IO authentication middleware.
- Configured automatic session cookie clearing when suspended users attempt to access the platform.
- Centralized refresh cookie security options and ensured immediate WebSocket disconnection upon admin suspension.
@Beshoy205
Beshoy205 requested a review from a team as a code owner May 2, 2026 21:43
@OmarHamza22
OmarHamza22 merged commit 8e5eeba into development May 2, 2026
2 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.

2 participants