Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x02x03
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux, kernel 2.6.9-78.0.5.EL
Web server: Apache
Perl version: 5.8.5
Client OS: Windows/Linux
Web Browser: FireFox/IE
Categories: Authorisation

-- JianqingZhang - 17 Nov 2008

Answer

ALERT! 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

 
Change status to:
Topic revision: r4 - 2008-11-18 - JianqingZhang
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.