1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Adding support for http_auth

This commit is contained in:
Denis Sacchet 2013-10-20 23:28:45 +02:00
parent df6afaf090
commit 027b4e1568
3 changed files with 23 additions and 2 deletions

View file

@ -2,6 +2,7 @@
{% block title %}{% trans "login to your poche" %}{% endblock %}
{% block content %}
{% if http_auth == 0 %}
<form method="post" action="?login" name="loginform">
<fieldset class="w500p center">
<h2 class="mbs txtcenter">{% trans "login to your poche" %}</h2>
@ -29,4 +30,5 @@
<input type="hidden" name="returnurl" value="{{ referer }}">
<input type="hidden" name="token" value="{{ token }}">
</form>
{% endblock %}
{% endif %}
{% endblock %}