mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
redditheader.html: Reload current page on logout.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
###############################################################################
|
||||
|
||||
<%!
|
||||
from pylons import request
|
||||
from r2.lib.template_helpers import static, s3_https_if_secure, add_sr
|
||||
from r2.models import Sub, FakeSubreddit
|
||||
from r2.models.subreddit import DefaultSR
|
||||
@@ -116,7 +117,7 @@
|
||||
${thing.corner_buttons()}
|
||||
%if c.user_is_loggedin and authentication.user_can_log_out():
|
||||
${separator("|")}
|
||||
${logout()}
|
||||
${logout(dest=request.fullpath)}
|
||||
%endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user