diff options
author | Denis Sacchet <denis@sacchet.fr> | 2013-10-20 23:28:45 +0200 |
---|---|---|
committer | Denis Sacchet <denis@sacchet.fr> | 2013-10-20 23:28:45 +0200 |
commit | 027b4e156853b4d5e358e19e83506ec4446de7ab (patch) | |
tree | 9a4ede0de3ac8494f206b07e2fc5e4013e61d234 /themes | |
parent | df6afaf0909506a334ef2b8c6f69770cd9890e0d (diff) | |
download | wallabag-027b4e156853b4d5e358e19e83506ec4446de7ab.tar.gz wallabag-027b4e156853b4d5e358e19e83506ec4446de7ab.tar.zst wallabag-027b4e156853b4d5e358e19e83506ec4446de7ab.zip |
Adding support for http_auth
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/login.twig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/default/login.twig b/themes/default/login.twig index 0ae130bc..2e48052b 100644 --- a/themes/default/login.twig +++ b/themes/default/login.twig | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | {% block title %}{% trans "login to your poche" %}{% endblock %} | 3 | {% block title %}{% trans "login to your poche" %}{% endblock %} |
4 | {% block content %} | 4 | {% block content %} |
5 | {% if http_auth == 0 %} | ||
5 | <form method="post" action="?login" name="loginform"> | 6 | <form method="post" action="?login" name="loginform"> |
6 | <fieldset class="w500p center"> | 7 | <fieldset class="w500p center"> |
7 | <h2 class="mbs txtcenter">{% trans "login to your poche" %}</h2> | 8 | <h2 class="mbs txtcenter">{% trans "login to your poche" %}</h2> |
@@ -29,4 +30,5 @@ | |||
29 | <input type="hidden" name="returnurl" value="{{ referer }}"> | 30 | <input type="hidden" name="returnurl" value="{{ referer }}"> |
30 | <input type="hidden" name="token" value="{{ token }}"> | 31 | <input type="hidden" name="token" value="{{ token }}"> |
31 | </form> | 32 | </form> |
32 | {% endblock %} \ No newline at end of file | 33 | {% endif %} |
34 | {% endblock %} | ||