summaryrefslogtreecommitdiffstats
path: root/web/template/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/header.php')
-rw-r--r--web/template/header.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/template/header.php b/web/template/header.php
index c78f1e36..265d6381 100644
--- a/web/template/header.php
+++ b/web/template/header.php
@@ -63,7 +63,11 @@
<li><a href="<?= get_uri('/logout/'); ?>"><?= __("Logout"); ?></a></li>
<?php else: ?>
<li><a href="<?= get_uri('/register/'); ?>"><?= __("Register"); ?></a></li>
+ <?php if ($DISABLE_HTTP_LOGIN && empty($_SERVER['HTTPS'])): ?>
+ <li><a href="<?= $AUR_LOCATION . get_uri('/login/'); ?>"><?= __("Login"); ?></a></li>
+ <?php else: ?>
<li><a href="<?= get_uri('/login/'); ?>"><?= __("Login"); ?></a></li>
+ <?php endif; ?>
<?php endif; ?>
</ul>
</div><!-- #archdev-navbar -->