I used the following paths
site.com/user for log in
site.com/user/register for registration
To create link on my secondary menu for Sign up and log in for anonymous usets.
Now I want to know how to hide the links for logged in users. Can someone help?

Comments

vm’s picture

use user/login for the path to the login and it will hide on it's own when a user is logged in. not sure how you will handle registration. Perhaps putting both links in their own menu/block and then hide that menu/block when the user is authenticated is the way forward.