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

ldap_required can destroy an active session more than once #18

Open
cjg89 opened this issue Aug 9, 2019 · 0 comments
Open

ldap_required can destroy an active session more than once #18

cjg89 opened this issue Aug 9, 2019 · 0 comments
Assignees
Labels

Comments

@cjg89
Copy link
Member

cjg89 commented Aug 9, 2019

It looks like ldap_required() is capable of calling ldap_destroy_session() multiple times in a single page load, which will throw a session_destroy(): Trying to destroy uninitialized session warning.

This situation occurs when a user logs in to the UIL lookup, then clicks the "log out" link at the top of the page. I'm not sure yet if there's any other instances where this would occur.

https://github.com/UCF/Brand-Theme/blob/master/functions.php#L119-L176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants