Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
U have a great way to simplify things and make it easier 🌸
Glad you think so!Please Subscribe to the channel.
great video bro
Appreciate it
Hi, can we use it to check the sign in, if admin -> go to admin page .. if normal user-> go to home page ?do you have a video on this ? thanks
Hi IbrahimYes you can write this either in RedirectAfterLogin or HomeControllerAdd a simple check with role of and redirect based on the condition.Hope this help
@@TechToolIndia thanks
To make it simpleRoute::get('/profile', function () { //})->middleware('auth');
Hey You can use middleware at different places from routes to controller Thanks for putting your thoughtsConsider subscribe channel
U have a great way to simplify things and make it easier 🌸
Glad you think so!
Please Subscribe to the channel.
great video bro
Appreciate it
Hi, can we use it to check the sign in, if admin -> go to admin page .. if normal user-> go to home page ?
do you have a video on this ?
thanks
Hi Ibrahim
Yes you can write this either in RedirectAfterLogin or HomeController
Add a simple check with role of and redirect based on the condition.
Hope this help
@@TechToolIndia thanks
To make it simple
Route::get('/profile', function () {
//
})->middleware('auth');
Hey
You can use middleware at different places from routes to controller
Thanks for putting your thoughts
Consider subscribe channel