Changes between Version 8 and Version 9 of TrueHttpLogoutPatch


Ignore:
Timestamp:
Nov 22, 2006, 1:48:00 AM (8 years ago)
Author:
kriggs
Comment:

Added a solution for 0.8

Legend:

Unmodified
Added
Removed
Modified
  • TrueHttpLogoutPatch

    v8 v9  
    7676  * Now that's ok to start `tracd` and test logout feature.
    7777
     78(Patches for other versions below)
     79
    7880== Comments ==
    7981Thanks a ton! this works like a charm.
     
    9496'''Contributors:'''
    9597
     98----
    9699
    97100Here is the patch for 0.10 - by sgorilla
     
    103106}}}
    104107
     108----
     109
     110You guys rock! I had created a 4 step script for people, but this actually does what logout is ''supposed'' to do :) For 0.8.4, rather than changing auth.py, you change the template file header.cs, by replacing this:
     111
     112{{{
     113    <li><a href="<?cs var:trac.href.logout ?>">Logout</a>
     114}}}
     115
     116with this
     117
     118{{{
     119    <li><a href="<?cs var:trac.href.logout ?>"
     120    onclick="clearAuthenticationCache('<?cs var:trac.href.logout ?>')">Logout</a>
     121}}}
     122
     123- by kriggs