Skip to content
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

Don't auto log out if already logged out #560

Closed
wants to merge 1 commit into from

Conversation

@RobbyZ
Copy link
Contributor

commented Jun 13, 2019

TBG logs out the user anytime they're not already logged in. While theoretically that shouldn't be an issue, it was causing two different problems for me, one in my prod environment (LAMP), and one in my test environment (WAMP).

  1. On WAMP server, throwing an error during session_regenerate_id since it was attempting to delete a session that hadn't yet been created.
  2. On LAMP server, was unable to generate captcha images since the session was being tossed out.
Don't auto log out if already logged out
TBG logs out the user anytime they're not already logged in.  While theoretically that shouldn't be an issue, it was causing two different problems for me, one in my prod environment (LAMP), and one in my test environment (WAMP).

1) On WAMP server, throwing an error during session_regenerate_id since it was attempting to delete a session that hadn't yet been created.
2) On LAMP server, was unable to generate captcha images since the session was being tossed out.
@RobbyZ

This comment has been minimized.

Copy link
Contributor Author

commented Jun 13, 2019

Nevermind, this is causing an issue when trying to sudo up after admin privs expire.

@RobbyZ RobbyZ closed this Jun 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.