kendraio / kendra_home

Kendra Home
https://www.kendra.io
GNU General Public License v2.0
2 stars 2 forks source link

When not logged in, "My Profile" link leads to a 404 Error page instead of "Register/Log-In" Page #83

Closed lenapagel closed 4 years ago

lenapagel commented 4 years ago

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.

kendraio homepage error
andystiller commented 4 years ago

I will have a look at this early next week.

andystiller commented 4 years ago

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.

andystiller commented 4 years ago

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.