laravel-ban
                                
                                
                                
                                    laravel-ban copied to clipboard
                            
                            
                            
                        Laravel API Middleware useage
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
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.