Question
Since Logout feature is not sophisticated, I wan to hide or remove
LogOut link from the left bar, how can I make it?
Thanks
Environment
--
JianqingZhang - 17 Nov 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
In
TWiki.WebLeftBarLogin you can remove the section
%IF{"$ LOGOUT != ''" then='%BR%<ul><li class="patternLogOut">%LOGOUT%</li>
However if you specify in
twiki/bin/configure to use persistent sessions the users may need that not sophisticated feature. Otherwise the web browser will always open with an open session, which may lead to security issues.
--
EnriqueCadalso - 18 Nov 2008
See also context identifiers in
IfStatements and
VarIF.
--
PeterThoeny - 18 Nov 2008
Thanks both.
Actually, I find if I choose
ApacheLogin as
LoginManager, the Logout link disappears automatically.
--
JianqingZhang - 18 Nov 2008