aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default
diff options
context:
space:
mode:
authorDenis Sacchet <denis@sacchet.fr>2013-10-20 16:53:54 +0200
committerDenis Sacchet <denis@sacchet.fr>2013-10-20 16:53:54 +0200
commitdf6afaf0909506a334ef2b8c6f69770cd9890e0d (patch)
treea537218ae6252793e5db4bb4d63aa639752fba0f /themes/default
parentc1e24b0461111affb121f5a1bc9d42acf94caf93 (diff)
downloadwallabag-df6afaf0909506a334ef2b8c6f69770cd9890e0d.tar.gz
wallabag-df6afaf0909506a334ef2b8c6f69770cd9890e0d.tar.zst
wallabag-df6afaf0909506a334ef2b8c6f69770cd9890e0d.zip
Added support for http_auth
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/config.twig2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/default/config.twig b/themes/default/config.twig
index 23860ebd..72671702 100644
--- a/themes/default/config.twig
+++ b/themes/default/config.twig
@@ -66,6 +66,7 @@
66 <input type="hidden" name="token" value="{{ token }}"> 66 <input type="hidden" name="token" value="{{ token }}">
67 </form> 67 </form>
68 68
69 {% if http_auth == 0 %}
69 <h2>{% trans "Change your password" %}</h2> 70 <h2>{% trans "Change your password" %}</h2>
70 <form method="post" action="?config" name="loginform"> 71 <form method="post" action="?config" name="loginform">
71 <fieldset class="w500p"> 72 <fieldset class="w500p">
@@ -84,6 +85,7 @@
84 <input type="hidden" name="returnurl" value="{{ referer }}"> 85 <input type="hidden" name="returnurl" value="{{ referer }}">
85 <input type="hidden" name="token" value="{{ token }}"> 86 <input type="hidden" name="token" value="{{ token }}">
86 </form> 87 </form>
88 {% endif %}
87 89
88 <h2>{% trans "Import" %}</h2> 90 <h2>{% trans "Import" %}</h2>
89 <p>{% trans "Please execute the import script locally, it can take a very long time." %}</p> 91 <p>{% trans "Please execute the import script locally, it can take a very long time." %}</p>