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 have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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