#18 Redirect Users after Login | Laravel Role based Authenticated | E-commerce website tutorial

preview_player
Показать описание
In this video we will see how we can redirect users to their dashboard based on their roles. if you have any suggestion related to this video please comment below.

Рекомендации по теме
Комментарии
Автор

after 3 o 4 videos, you did the job! thank you Sir..

ricardomm
Автор

Messages between simple user and Admin, thank you <3

fjerbi
Автор

I have a question, but it has little to do with this video, if i use gates, is required also to have route middleware for separate admin and user areas?

sergey_gabrielyan
Автор

I want to show existing user address automatically when they are login.if they are old user then they see their old address and they can change their address if they want...otherwise if they are new user then they input their new address...is this possible??please help me how can I solve this problem?

farjanaakter
Автор

why is not working in my laravel 5.7?
protected function authenticated($request, $user){

if($user->isRole(4)){
return redirect('/traveller');
}
elseif ($user->isRole(3)) {
return redirect('/organizer');
}
else
return redirect('/');
}

tatsumarugomez
Автор

Please teach how to make recharge website like paytm or free charge

ankittiwary