Authentication: login via username / password
This commit is contained in:
parent
98c42dfe6c
commit
5ed0361998
1 changed files with 13 additions and 0 deletions
|
@ -1,5 +1,18 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% if True %} {# TODO: replace by check, whether local login is enabled #}
|
||||||
|
<h5>{% trans "Please log in with your account" %}</h5>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<form id='login_form' action="{% url 'login' %}" method="POST">
|
||||||
|
{% csrf_token %}
|
||||||
|
<input type="text" name="username" placeholder="{% trans 'Username' %}" autofocus />
|
||||||
|
<input type="password" name="password" placeholder="{% trans 'Password' %}" />
|
||||||
|
<input type="submit" value="{% trans 'Login' %}" />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<h5>{% trans "Please choose a provider" %}</h5>
|
<h5>{% trans "Please choose a provider" %}</h5>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in a new issue