summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/gallery/config/identity.php2
-rw-r--r--modules/gallery/views/login_ajax.html.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/gallery/config/identity.php b/modules/gallery/config/identity.php
index 0479d08b..72d1b589 100644
--- a/modules/gallery/config/identity.php
+++ b/modules/gallery/config/identity.php
@@ -32,6 +32,6 @@
*/
$config["default"] = array (
"driver" => "gallery",
- "allow_updates" => true,
+ "allow_updates" => false,
"params" => array(),
);
diff --git a/modules/gallery/views/login_ajax.html.php b/modules/gallery/views/login_ajax.html.php
index d3364b46..332a5365 100644
--- a/modules/gallery/views/login_ajax.html.php
+++ b/modules/gallery/views/login_ajax.html.php
@@ -36,8 +36,10 @@
<li id="g-login-form">
<?= $form ?>
</li>
+ <? if (!empty($writable)): ?>
<li>
<a href="#" id="g-password-reset" class="g-right g-txt-small"><?= t("Forgot Your Password?") ?></a>
</li>
+ <? endif ?>
</ul>
</div>