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 LoginFilter to check for any user #51

Merged
merged 3 commits into from
Jun 11, 2019

Conversation

MGatner
Copy link
Collaborator

@MGatner MGatner commented Jun 11, 2019

  • Checks login named route to prevent infinite redirect loops
  • Runs $authentication->check() and redirects to login on failure
  • Updated README to include new filter and instructions for use in Filters.php

MGatner added 3 commits June 11, 2019 12:17
A generic login filter that checks for any authenticated user are redirects to login if not found.
Most useful for top-level filters that cannot accept parameters.
@lonnieezell lonnieezell merged commit 8432809 into lonnieezell:develop Jun 11, 2019
@MGatner MGatner deleted the authfilter branch June 11, 2019 16:47
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