Multi User Login System using Laravel Jetstream | Laravel Hotel Management System Project Tutorial
HTML-код
- Опубликовано: 9 янв 2024
- Multi User Login System using Laravel Jetstream | Laravel Hotel Management System Project Tutorial
Laravel Hotel Management System Project Playlist Link : • Laravel Hotel Manageme...
Get the Hotel Project Source Code : www.buymeacoffee.com/yaminsha...
Join this channel to get access to perks:
/ @webtechknowledge
If you get helped from this tutorial, please subscribe my channel and stay with me to get more powerful tip
Thanks For Watching.
I hope This video was helpful.If you have any questions then let me know in the comment section.
Best of luck
#webtechknowledge
You can connect with me with the given links below:
Please Subscribe to this channel: / @webtechknowledge
Join this channel to get access to perks: / @webtechknowledge
Follow me on :
Facebook Link: / yaminshakil07
Instagram Link: / yamin_shakil
Twitter Link: / yaheashakil
#laravelproject #laravelhotelmanagementsystem #hotelmanagementsystem #laravelprojectforbeginners
At 12:01 Instead of going to the route service provider go to config/fortify.php and make changes there
-----------OR-------
If you are having problem with redirecting to Dashboard then check this video for solution : ruclips.net/video/zodX7tBMeYk/видео.html
simple and straight very helpful video my guy!
Thanks for the important tutorials as you have published! Next tutorials please!
Already added
ERRORR Redirection to dashboard after login..
FIX:-
makes changes to this config.fortify,php
From:
'home' => '/dashboard',
To:
'home' => '/home',
it will fix
Thanks brother
@webtechknowledge,Thanks for this tutorial, but I was expecting, advance one, like different table for admin, different routes, admin 2fa,admin profile update, like similar jetstream provide for user. Both can login from same browser, their session also different. If admin logout, user still logged in.
Noted . i will make one like you mentioned
After login admin also redirects to the user dashboard. It should redirect to admin home page as you mentioned. What's the problem??
Go to config/fortify.php
There mention your url
I'm getting error while installing npm run build, can i use npm run dev instead does it work the same with run build?
Works the same
Route::('/home', [Admin Controller ::class, 'index']) ;
Its showing syntax error, unexpected token "("
Why?
anyone know why my laravel doesnt have authserviceprovider
jetstream?
20:19
Is there any video to ensure user can only see his data in view page? It means, user cannot see data of other users. Because I face this issue in my coding. I use php language
Just give auth condition to solve your issue
@@WebTechKnowledge Yes, I can solve it.. Thanks
in the recent update there is no RouteServiceProvider.php in the folder of providers what shuold i do ?
Go to config/fortify.php .. there do the same thing that we did in the routeserviceprovider.. it will work
@@WebTechKnowledge thz
it always goes to user dashboard
if($usertype == 'user'){
return view('test');
}
else if($usertype == 'admin'){
return view('admin.index');
}
else{
return redirect() -> back();
}
I even tried this by replacing dashboard with a test blade
but it stll goes to user dashboard no matter what
if anyone is able to fix this problem or know how to solve it, please let me know
Check this video to solve your issue : ruclips.net/video/zodX7tBMeYk/видео.html
@@WebTechKnowledge thanks its solved
it always redirected me to dashboard even if login in as admin or user
plz give me a solution
same problem
Go to config/fortify.php
There mention your url
check this video to solve your issue: ruclips.net/video/zodX7tBMeYk/видео.html
sir i dont have routeserviceprovider?
did u install jetstream
Same i also don't have routeservisprovider😢
It's fine just make changes in the config/fortify.php instead of routeserviceprovider
Every time redirect in dashboard after login no home url display...
Did You fixed it??
me too
Go to config/fortify.php
There mention your url