Hey, i want to make a ban system, and i do not know how to redirect a user to a "You're banned" page. Should i check in the database and then make an if instance in routes.php? or where should i make it?
Just return them an error message or make a page called like banned in your routes.php like so
Route::get('banned', function() {
//
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community