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

Laravel API Middleware useage #85

Open
kevinwaxi opened this issue Jun 16, 2022 · 1 comment
Open

Laravel API Middleware useage #85

kevinwaxi opened this issue Jun 16, 2022 · 1 comment

Comments

@kevinwaxi
Copy link

I have tried to include the middleware provided by the package. I have been back and forth trying to restrict banned users from logging in. Any solution to this or what am I required to do? I simply wanted users who are currently logged in to be logged out

@antonkomarev
Copy link
Member

antonkomarev commented Jun 16, 2022

What issue you have with default middleware? Any errors?
Just add logs-out-banned-user middleware to protected routes and logged in users will be forced to log out.

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

No branches or pull requests

2 participants