Laravel Admin And User Login ~ Laravel 10 Multi Auth System ~ Separate Login For User and Admin
HTML-код
- Опубликовано: 30 сен 2024
- In this video I show you how to create separate login system for both admin and users in laravel 10. I show you this multi authentication system step by step. Anyone following this tutorial will able to build it very easily.
Laravel Admin And User Login ~ Laravel 10 Multi Auth System ~ Separate Login For User and Admin
Laravel 11 Multi Auth Video - • Laravel 11 Multi Auth ...
Need a Laravel Developer? Message Me-
t.me/OxDevFS
This is for all version ~ laravel 8, 9 and 10
#laravel
Thank you so much for watching. Watch the full video carefully and you all will build the multi authentication system using laravel 10 without any problem.
Hey, where is your blog link?
after doing each and every step i have got an error in admin/login after posting
Call to undefined cast [hashed] on column [password] in model [App\Models\Admin].
please help
You have to use the import statement of hash , Like we use the path for the models in the controller
@ahsansher58 its been 10 month and now i think i am a little bit professional now
can you share this source code ?
Where website link sir
Hi , very nice tutorial. But how to make function to log out Admin? Thx
Awesome tutorial bro. Would appreciate if you can update it with a logout for admin please
Does this method work even if I write manager instead of admin?
can u repost the source code pls ?
how can i make log out the admin?
same question
the web site does not work
My problem is When admin/login with the corrects credentials…. not found. How to resolve?
Add a record in admins table
after session expires, the admin page will logout and redirect to the /login route instead of /admin/login route. How do I correct it pls?
In AuthenticatedSessionController file in AdminAuth folder, change the route in destroy method
did that and it is still same public function destroy(Request $request): RedirectResponse
{
Auth::guard('admin')->logout();
$request->session()->invalidate();
$request->session()->regenerateToken();
return redirect('admin.login');
}
}
@@asibur
too informative content
its very helpful for me
how to create register for admin i mean view page
pls help
there is no RouteServiceProvider in the providers folder
use laravel 10 to follow this video. thanks
@@asibur laravel 11 not have RouteServiceProvider
@@ronnakornruengjunlapat5706 this video is recorded for laravel version 10 not 11
thankss alott sirrr, may you bless happines. again thankyouuu
email verification is not working in guard:agent and guard:admin please help
same error :(
could you solve it?
Love your work, Sir❤❤❤❤
the designe of this pages can it be changed ?
yes
Thank you.
Thank you, it has helped me a lot.
you are welcome
@@asibur help me please, i did same as video, but when i go to /admin/dashboard it redirects to login page not /admin/login . What's wrong with auth:admin
Goated tutorial thank you so much :D
Glad it helped!
Thanks
I'm not succes
what problem u facing
thannkss
you are welcome
@@asibur sir admin password wrong show krva Ra JB k Password b okk hai
How can i logout from admin
Session flush