mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 16:28:01 -05:00
Use canonical URL for logout POST.
This commit is contained in:
@@ -438,7 +438,7 @@ ${unsafe(txt)}
|
||||
</%def>
|
||||
|
||||
<%def name="logout(top=False,dest=None,a_class='')">
|
||||
<form method="post" action="/logout" class="logout hover"
|
||||
<form method="post" action="${add_sr('/logout', sr_path=False)}" class="logout hover"
|
||||
%if top:
|
||||
target="_top"
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user