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

Add redirects to filters #52

Merged
merged 6 commits into from
Jun 12, 2019
Merged

Conversation

MGatner
Copy link
Collaborator

@MGatner MGatner commented Jun 12, 2019

Filters currently don't set redirect_url in session, so after login a user is returned to /. This change will use current_url() to send the user back to the requesting page.

Copy link
Owner

@lonnieezell lonnieezell left a comment

Choose a reason for hiding this comment

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

Nit-picky changes on this one :)

src/Filters/LoginFilter.php Outdated Show resolved Hide resolved
@lonnieezell lonnieezell merged commit 72f8553 into lonnieezell:develop Jun 12, 2019
@MGatner MGatner deleted the filter-redirect branch June 12, 2019 14:05
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