How to Ban Users || Disable User Login || Laravel shopping cart tutorial

preview_player
Показать описание
in this video you will learn how to Ban users in laravel.
First you need a new field(column) in users table name it anything (isBan). and then create new function called credentials in Auth/loginController for protect your all routes from ban user.

user have to check this checkPoint if he/she is ban or not, he/she can login in case he is not Ban(isBan !=1)
Рекомендации по теме
Комментарии
Автор

not working i keep getting error 'Type error: Argument 1 passed to must be an instance of App\Http\Controllers\Auth\Request, instance of Illuminate\Http\Request given, called in on line 72'

mrceejay
Автор

hi, how do you ban users while they're still logged in. like if you set it to to 1, it should already be banned but they can still use functions until they log out.

jezsonama
Автор

where is next video for dynamic ban of user which u told u will show in next video on this video

harryhardy
Автор

module and component development same like Joomla

faizanasir
Автор

plz cover the dynamic theming for front end

faizanasir
Автор

Where is next video sir
Please give Link

aamerpathan