Skip to content

Fixes session handling issues with Flask-Session Redis backend during login/logout operations#181

Merged
tarekio merged 1 commit intomainfrom
Fix-Session-Rotation-Issues
Sep 7, 2025
Merged

Fixes session handling issues with Flask-Session Redis backend during login/logout operations#181
tarekio merged 1 commit intomainfrom
Fix-Session-Rotation-Issues

Conversation

@level09
Copy link
Collaborator

@level09 level09 commented Sep 7, 2025

Problem

  • Sessions were being reused between logout and login, creating errors & potential security issues

Solution

  • Add logout signal handler to clear session data on logout, ensuring fresh session on next login

@level09 level09 self-assigned this Sep 7, 2025
@coderabbitai
Copy link

coderabbitai bot commented Sep 7, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch Fix-Session-Rotation-Issues

Comment @coderabbitai help to get the list of available commands and usage tips.

@tarekio tarekio merged commit d4b85fe into main Sep 7, 2025
8 checks passed
@tarekio tarekio deleted the Fix-Session-Rotation-Issues branch September 7, 2025 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants