Closed lenapagel closed 4 years ago
I will have a look at this early next week.
I have added the menu per role module that allows the menu visibility to be set depending on the user role. The visibility is set on individual menu items.
Setting the my profile menu item to not be visible for anonymous users hides the menu item when not logged in. The only potential issue is Auth0 Token Based Authentication badge moves.
The code is now live. I have configured the "My Profile" menu link to not be visible for anonymous users.
I have cleared all the caches and tested both logged in and not logged in.
On the bottom of the landing page, there's a link to "My Profile". If you're not already logged in it leads to a 404 Error, saying "Page Not Found". This should be leading to the register/log-in page instead, from which you then get redirected to your profile.