New custom login page not working according to documentation. Please help
Sure I am forgetting something obvious but cannot see what.
I want to create a completely new login page form, so I have done this:
1.- Create a new page and blade view with ==> php artisan make:filament-page Auth/Login
2. - Changed the Login class like this:
3. - In AdminPanelProvider changed the ->login() for this => ->login(Login::class) and imported the class with:
But I can see no changes at all. I have added some text for testing in my view located at: resources\views\filament\pages\auth\login.blade.php
Any ideas of what I am doing wrong??
I am using Filament v3.2.41
Thank you very much.
Solution:Jump to solution
Oh. Your namespace is wrong in your panel provider.
Use App\Filament\Pages\Auth\Login;...
7 Replies
Looks ok to me. View cache maybe?
What do you mean with view cache, please?
I have run PHP cache clear
I'll try this when I'm back in the office:
php artisan view:clear
Bad luck!
Nothing happens after running => php artisan view:clear
and even => php artisan optimize:clear
I see the same login page with no addings of my customization.
Any ideas, please?
Do you have multiple panels by any chance?
Nope. Only 1.
Solution
Oh. Your namespace is wrong in your panel provider.
Use App\Filament\Pages\Auth\Login;
Tks. That was it.
I did not see it looking at it a thousand times. Thank you.
Anyhow, now I have other problems with that login custom form that I will comment later this next week. Not urgent.
Tks again.
hi @awcodes I have same issue, no changes on my custom login page. I can assure you that my namespaces are all correct. I am using multiple panels by the way. I also followed what @Albert Lens did
I've tried with another project and it works. Need to dig deeper why on my other project did not work.