From 052491e258ec72746839298a545fecad18a947a0 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 8 Oct 2009 06:26:12 -0700 Subject: If the Identity backend is not writable don't display the "Forgot Your Password" link --- modules/gallery/config/identity.php | 2 +- modules/gallery/views/login_ajax.html.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 @@
  • +
  • + -- cgit v1.2.3