[dw-free] Make logging out a one-step process
[commit: http://hg.dwscoalition.org/dw-free/rev/96a6b0ba5067]
http://bugs.dwscoalition.org/show_bug.cgi?id=4271
Use the "session" visible function, instead of the "_session" variable which
isn't visible because of the _ prefix.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=4271
Use the "session" visible function, instead of the "_session" variable which
isn't visible because of the _ prefix.
Patch by
Files modified:
- schemes/common.tt
--------------------------------------------------------------------------------
diff -r 53b7f7d82aa3 -r 96a6b0ba5067 schemes/common.tt
--- a/schemes/common.tt Thu Jan 19 15:46:33 2012 +0800
+++ b/schemes/common.tt Thu Jan 19 16:01:54 2012 +0800
@@ -77,7 +77,7 @@
[%- -%]<form action='[% site.root %]/logout?ret=1' method='post'>
[%- remote.ljuser_display -%]
[%- -%]<input type='hidden' name='user' value='[% remote.user %]' />
- [%- -%]<input type='hidden' name='sessid' value='[% remote._session.sessid %]' />
+ [%- -%]<input type='hidden' name='sessid' value='[% remote.session.sessid %]' />
[%- -%]<input type='submit' value="[% 'sitescheme.accountlinks.btn.logout' | ml %]" />
[%- -%]</form>
[%- END -%]
--------------------------------------------------------------------------------

no subject