Add ?next= when trying to add a comment when not logged in
This commit is contained in:
parent
202d951c3d
commit
8fc57eaaa6
@ -90,7 +90,8 @@
|
||||
{% if app_config['allow_comments'] %}
|
||||
<a
|
||||
{% if not request.user %}
|
||||
href="{{ request.urlgen('mediagoblin.auth.login') }}"
|
||||
href="{{ request.urlgen('mediagoblin.auth.login') }}?next={{
|
||||
request.base_url|urlencode }}"
|
||||
{% endif %}
|
||||
class="button_action" id="button_addcomment" title="Add a comment">
|
||||
{% trans %}Add a comment{% endtrans %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user