Skip to content
Snippets Groups Projects
Commit bc5fe5ce authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Minor login fixes

parent c432c636
Branches
Tags
2 merge requests!41Version 2.0.0,!38Merge py3 into dev
......@@ -15,7 +15,7 @@
<div class="module-content">
<h2 class="page-heading">{% block page_heading %}{{ _('Login') }}{% endblock %}</h2>
{% block form %}
{% snippet "user/snippets/login_form.html", error_summary=error_summary %}
{% snippet "user/snippets/login_form.html", action=c.login_handler, error_summary=error_summary %}
{% endblock %}
</div>
</section>
......
......@@ -15,6 +15,7 @@ Example:
{% set password_error = true if error_summary %}
<form action="{{ action }}" method="post" class="form login-form">
{{ h.csrf_input() }}
{{ form.errors(errors=error_summary) }}
<div class='row'>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment