add optional login message and callback

This commit is contained in:
Trinity Pointard
2018-06-04 20:21:43 +02:00
parent d604b62917
commit 2fde47d909
3 changed files with 24 additions and 4 deletions
+3
View File
@@ -6,6 +6,9 @@ Login
{% block content %}
<h1>Login</h1>
{% if message %}
<p>{{ message | escape }}</p>
{% endif %}
<form method="post">
<label for="email_or_name">Username or email</label>
<input name="email_or_name">