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

[fix] 213 - Library Considers Itself "Logged In" Despite Authentication Exception #218

Conversation

kevinoneill
Copy link
Contributor

This one bit me this week so I thought I'd put together a quick patch ... worst comes to worst it might be a jumping off point.

  • Added a filter that excludes expired cookies when checking for active iracing cookies.
  • Added a unit test that checks that the expired cookies

Sorry for the formatting changes, I tried to get my settings as close to yours as I could, looks like i failed.

…on Exception

Filtered out expired cookies when checking for active iracing cookies
ensures that the `authtoken_members` cookie is not expired
@AdrianJSClark
Copy link
Owner

This looks great! Thanks, @kevinoneill.

@AdrianJSClark AdrianJSClark merged commit ebce8e2 into AdrianJSClark:main Aug 4, 2024
1 check failed
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.

2 participants