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 error when logged out user views membership page #1182

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

phinze
Copy link
Contributor

@phinze phinze commented Nov 8, 2023

What it does

Fixes error seen here https://appsignal.com/chicago-tool-library/sites/60596f9214ad662e17191689/exceptions/incidents/144

Why it is important

Prevents logged out users from seeing an error page if they pull up membership page somehow.

Implementation Notes

I found BaseController in the account directory which requires auth for all actions. It seemed like the best fix was to inherit from that.

@phinze phinze requested a review from jim November 8, 2023 18:02
@phinze phinze self-assigned this Nov 8, 2023
@phinze phinze changed the title Fix error when logged out user view membership page Fix error when logged out user views membership page Nov 8, 2023
Copy link
Member

@jim jim left a comment

Choose a reason for hiding this comment

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

Nice catch.

@jim jim merged commit c6d6c28 into main Nov 9, 2023
5 checks passed
@jim jim deleted the fix-member-show-logged-out branch November 9, 2023 02:24
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