Remove "Laravel" text from Login page
Hey guys, I'm using Filament's default Login page, and I don't understand how to remove the "Laravel" text that appears both on the page itself and the " - Laravel" string that gets appended to the page's title. I've tried overriding getHeading, getSubheading, getTitle etc. but I can't get any of this to work.
Is this just intended behavior, or is there any easy way to change this?
Thanks in advance π
7 Replies
Update: I now realized it is based on the environment variable APP_NAME. How can I change this? I don't want it to be dependant on an environment variable
The problem with this way is that will affect all Simple Page, not good if we just want to customize Login Page only
then you have to change the login page template. Copy it to
resources/views/vendor/...
and change it however you want instead of showing the default logoIf you just want to remove logo/brand text, you can try overriding hasLogo() with return false in your login class
I think it will be good if Filament have a function like getLogo or getBrand that return string | htmable | View to customize logo/brand
But that wouldn't solve your problem, since it would change for all place where it's used, no?
But feel free to create a PR with your enhancement
Of course not, it's like we can customize getHeading() in CustomLogin that extend filament Login class, so it will affect in Login Page only. And it's not my problem btw, i'm not the OP, i'm just trying to help too π