From 3921f5081bcb37df4bdf951ebb5fe2a14a88791f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 23 Apr 2013 22:19:09 +0400 Subject: [PATCH] only show reset password link when auth_internal is enabled (refs #681) --- config.php-dist | 2 ++ include/login_form.php | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/config.php-dist b/config.php-dist index 1c356a9a..72b6fd1b 100644 --- a/config.php-dist +++ b/config.php-dist @@ -192,6 +192,8 @@ // authentication plugin here (auth_*). // Users may enable other user plugins from Preferences/Plugins but may not // disable plugins specified in this list. + // Disabling auth_internal in this list would automatically disable + // reset password link on the login form. define('LOG_DESTINATION', 'sql'); // Log destination to use. Possible values: sql (uses internal logging diff --git a/include/login_form.php b/include/login_form.php index 7ac7111c..4745027f 100644 --- a/include/login_form.php +++ b/include/login_form.php @@ -188,6 +188,8 @@ function bwLimitChange(elem) { value="" /> + +
+ +