-
-
Notifications
You must be signed in to change notification settings - Fork 504
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 infinite redirect loop for user without organization and that is not superuser, nor partner #3808
Conversation
Specs are passing locally... failing in workflow... weird ill figure it out |
public/403.html
Outdated
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>The page you were looking for doesn't exist (404)</title> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Smallllll change, but this title doesn't match the body.
Sorry I missed that you re-reviewed; hoping tests pass now |
@awwaiid I really don't want to talk about why it took so long to get passing specs... but it's good to go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
@lokisk1155: Your PR |
Description
This PR resolves an issue with an infinite redirect loop that occurs for users who do not have an organization assigned and are not superusers or partners. After the change, the sign-in form responds with a 404 page instead of the infinite loop.
Such a case is not expected to exist in the wild, so it wasn't a serious problem. If such a case occurs, there will be needed some intervention anyway.
Slack ref: https://rubyforgood.slack.com/archives/C6WLZL0DD/p1684611196815299
Type of change
How Has This Been Tested?
Steps: