You can use auth middleware, or if you want more customised then you can make your own middleware according to your requirement and then use it. Remember to register the created middleware in kernal.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community