← Back to team overview

phpdevshell team mailing list archive

[Bug 664927] Re: Cannot hide Log In | Out button from logged in users

 

Yes, if it's all getting redesigned, then you could this into
consideration as well!

I think currently clicking Logout does something like redirect to the
Log In | Out page before it actually logs you out. So perhaps clicking
logout should actually log you out first before redirecting anywhere.

Thanks

-- 
Cannot hide Log In | Out button from logged in users
https://bugs.launchpad.net/bugs/664927
You received this bug notification because you are a member of
PHPDevShell, which is subscribed to PHPDevShell.

Status in Open Source php gui type development framework.: New

Bug description:
v3.0.0-Beta-3

When users are logged in, I want to hide the Log In | Out button, but when they log out I want it to show.

The only way to do this would be to go to Edit Log In | Out under Manage Menus and then assign only the Guest role to the menu. This prevents the button from being displayed unless you are logged out and take on the Guest role (which is what I want).

The problem is, that once you do this, you cannot Logout anymore since the page is now not available to the logged in user.





References