fix redirect on login

This commit is contained in:
Andy Miller
2017-08-24 21:44:50 -06:00
parent 8123a2a09f
commit 0923a3abed

View File

@@ -16,7 +16,11 @@
<form method="post" action="{{ base_url_relative }}">
<div class="padding">
{% block form %}{% endblock %}
<<<<<<< Updated upstream
<input type="hidden" name="redirect" value="{{ uri.url(false) }}" />
=======
<input type="hidden" name="redirect" value="{{ uri.route(false) }}" />
>>>>>>> Stashed changes
{{ nonce_field('admin-form', 'admin-nonce')|raw }}
</div>
</form>