Hide Sign In but display User Profile/Sign Out when authenticated | Community
Skip to main content

Hide Sign In but display User Profile/Sign Out when authenticated

  • October 13, 2021
  • 1 reply
  • 0 views

I am able to remove the user info code from the header, but this does not allow my signed-in users to access the sign-out function or change password feature.

Is there a way to only display the user info for users that are signed-in?

I don't want to display the Sign In on my KB (My users will use the direct link to sign form).

1 reply

  • Author
  • October 13, 2021

Seems like I figured it out on my own.

 

Here is the code (Line 40-42 did the trick) I used: