Possibility to hide sign out option in user menu?
Hi! Our admin panel created with Filament is guarded by an IAP and we don't need the logout functionality. I'm looking for a way to disable the logout option in the user menu bar. Does anyone have a suggestion how to implement this? Thanks in advance!
Solution:Jump to solution
As it is nested just taking the last child doesn't work. The following however does:
```
.fi-user-menu > :last-child > :last-child {
display: none;
}...
4 Replies
Just use CSS..
I thought so as well, but how to distinguish the logout item from the other items? It does not have any unique class or id to style for.
It's always the last item? so: :last-child
Solution
As it is nested just taking the last child doesn't work. The following however does: