Skip to content

Conversation

@ashfame
Copy link
Member

@ashfame ashfame commented Aug 24, 2022

This PR injects inline JS code when a user is not logged in on any page i.e. theme page or wp-login.php page where the user may land after logging out of WordPress. The injected code finds any chatrix sessions and invalidates those sessions.

Fixes #5

@ashfame ashfame requested a review from psrpinto August 24, 2022 08:43
@ashfame ashfame self-assigned this Aug 24, 2022
@ashfame ashfame force-pushed the wp-chatrix-logout branch from 193c499 to 032c7db Compare August 25, 2022 11:09
@ashfame ashfame force-pushed the wp-chatrix-logout branch from 801ec26 to b443c72 Compare August 25, 2022 15:33
Copy link
Member

@psrpinto psrpinto left a comment

Choose a reason for hiding this comment

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

🚀

@ashfame ashfame merged commit ffa8a84 into main Aug 26, 2022
@ashfame ashfame deleted the wp-chatrix-logout branch August 26, 2022 11:27
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.

How will logout/switching WordPress.org accounts be handled?

3 participants