-
-
Notifications
You must be signed in to change notification settings - Fork 256
Remove all current user sessions instead of throwing an exception (#11240) #11241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove all current user sessions instead of throwing an exception (#11240) #11241
Conversation
Fixed RevokeAllUserSessions to exclude current session instead of blocking the operation Removed redundant error message for removing all user sessions Updated logic to use session ID comparison for better precision Transferred from: 11237
WalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant UserManagementController
participant SessionStore
User->>UserManagementController: Request to revoke all sessions
UserManagementController->>SessionStore: Get all sessions for user
UserManagementController->>SessionStore: Exclude current session from revocation
UserManagementController->>SessionStore: Revoke all other sessions
UserManagementController-->>User: Respond with success
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes found. Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
💤 Files with no reviewable changes (2)
🔇 Additional comments (3)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
closes #11240
Summary by CodeRabbit
Bug Fixes
Chores