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
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
@@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
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
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
too informative content
its very helpful for me
Love your work, Sir❤❤❤❤
Does this method work even if I write manager instead of admin?
Hey, where is your blog link?
Goated tutorial thank you so much :D
Glad it helped!
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
thankss alott sirrr, may you bless happines. again thankyouuu
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
Where website link sir
the designe of this pages can it be changed ?
yes
the web site does not work
can you share this source code ?
how can i make log out the admin?
same question
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
Thank you.
email verification is not working in guard:agent and guard:admin please help
same error :(
could you solve it?
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
can u repost the source code pls ?
How can i logout from admin
Session flush