disable the user avatar/menu during onboarding?

Is there an easy way to just turn off the little user avatar/menu in the top right during user signup flow?
No description
Solution:
If you extend the EmailVerificationPrompt page, you can just add protected bool $hasTopbar = false; to get rid off the topbar
Jump to solution
34 Replies
awcodes
awcodes8mo ago
I’m surprised it’s even showing. Why would the user be logged in if they haven’t verified their email yet? This might be a bug.
stursby
stursbyOP8mo ago
yea, seemed odd I am using multi-tenancy
awcodes
awcodes8mo ago
Are you overriding any of the auth routes?
stursby
stursbyOP8mo ago
and a custom Edot Profile page not that I'm aware of 😂
awcodes
awcodes8mo ago
Definitely seems odd. Feel free to submit an issue on github if you feel it’s a bug. I honestly don’t know enough about the tenancy internals to be confident of it’s a bug or not.
stursby
stursbyOP8mo ago
🤷‍♂️ sounds good, yea, I can make a quick reproduction repo and will submit a ticket
awcodes
awcodes8mo ago
Thank you.
stursby
stursbyOP8mo ago
@awcodes looks like it shows up even w/o multi tenancy just spun up a brand new test repo
stursby
stursbyOP8mo ago
added
No description
stursby
stursbyOP8mo ago
and
stursby
stursbyOP8mo ago
No description
stursby
stursbyOP8mo ago
No description
stursby
stursbyOP8mo ago
there it is so seems like it's... intended?
awcodes
awcodes8mo ago
Maybe there’s a reason for it. But definitely seems odd to me.
stursby
stursbyOP8mo ago
GitHub
Ability to disable the avatar/user menu on registration flow · Issu...
Package filament/filament Package Version v3.2.72 Laravel Version v11.6.0 Livewire Version v3.4.12 PHP Version PHP 8.3.4 Problem description Not sure if this is really a bug... but when I enable re...
stursby
stursbyOP8mo ago
done and done 😉 yea... seems like that should just be hiddden until AFTER you finish registration 🤷‍♂️
awcodes
awcodes8mo ago
Thanks. I’ve asked about it to the team too.
Solution
Saade
Saade8mo ago
If you extend the EmailVerificationPrompt page, you can just add protected bool $hasTopbar = false; to get rid off the topbar
stursby
stursbyOP8mo ago
hmmm, I tried add that page and the top bar is still showing up... am I doing it correctly?
No description
stursby
stursbyOP8mo ago
No description
stursby
stursbyOP8mo ago
still show up
No description
Saade
Saade8mo ago
did you added ->emailVerification(EmailVerificationPrompt::class) to the panel?
stursby
stursbyOP8mo ago
ah no 🤦‍♂️ let me try that! hmmm, I added that and the avatar is still shwing up
stursby
stursbyOP8mo ago
No description
stursby
stursbyOP8mo ago
No description
stursby
stursbyOP8mo ago
nvm got it fixed! VSCode class auto imported the filament one since I named it the same 😂
stursby
stursbyOP8mo ago
No description
stursby
stursbyOP8mo ago
it's gone now! woot thank you @Saade 🙏 cc @awcodes 👆 I will update the GH discussion w/ a code sample
Saade
Saade8mo ago
no worries, its a requirement on my end too to not show the user menu there
Saade
Saade8mo ago
i've recently made a PR to the profile page too https://github.com/filamentphp/filament/pull/12515
GitHub
Add option to remove topbar from the profile page by saade · Pull R...
Description Every auth page has an option to remove the topbar except for the profile page. This PR adds the same configuration option as the other pages.
stursby
stursbyOP8mo ago
ha! I though it was odd it showed up there too glad I'm not the only one 😉 thanks for your help!!
stursby
stursbyOP8mo ago
GitHub
Ability to disable the avatar/user menu on registration flow · fila...
Package filament/filament Package Version v3.2.72 Laravel Version v11.6.0 Livewire Version v3.4.12 PHP Version PHP 8.3.4 Problem description Not sure if this is really a bug... but when I enable re...
stursby
stursbyOP8mo ago
updated and marked as resolved on the GH Discussion 🕺

Did you find this page helpful?