mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-02 16:21:32 -08:00
redirect user back to where they came from after logging in
This commit is contained in:
parent
fffb58fb07
commit
eeb80ad851
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
|||
<p><a href="{{ url_for('auth.validation_required') }}">{{ _('Verify your email address to comment') }}</a></p>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<p><a href="{{ url_for('auth.login') }}">{{ _('Log in to comment') }}</a></p>
|
||||
<p><a href="{{ url_for('auth.login', next='/post/' + str(post.id)) }}">{{ _('Log in to comment') }}</a></p>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<p>{{ _('Comments are disabled.') }}</p>
|
||||
|
|
Loading…
Add table
Reference in a new issue