summaryrefslogtreecommitdiff
path: root/modules/gallery/views/login_ajax.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/views/login_ajax.html.php')
-rw-r--r--modules/gallery/views/login_ajax.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/login_ajax.html.php b/modules/gallery/views/login_ajax.html.php
index 88fe2389..a40d1950 100644
--- a/modules/gallery/views/login_ajax.html.php
+++ b/modules/gallery/views/login_ajax.html.php
@@ -43,7 +43,7 @@
<li id="g-login-form">
<?= $form ?>
</li>
- <? if (identity::is_writable()): ?>
+ <? if (identity::is_writable() && !module::get_var("gallery", "maintenance_mode")): ?>
<li>
<a href="#" id="g-password-reset" class="g-right g-text-small"><?= t("Forgot your password?") ?></a>
</li>