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

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-11-18 - JianqingZhang
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.