From c26ba25f32b130f416f4a12132b533af742ef1de Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Wed, 31 May 2006 06:58:51 +0000 Subject: [PATCH] merged, changepassword obsolete --- auth/cas/login.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/auth/cas/login.php b/auth/cas/login.php index 36cfd69775..36f74666d8 100644 --- a/auth/cas/login.php +++ b/auth/cas/login.php @@ -109,10 +109,7 @@ defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.'); //Select password change url if (is_internal_auth() || $CFG->{'auth_'.$USER->auth.'_stdchangepassword'}){ $passwordchangeurl=$CFG->wwwroot.'/login/change_password.php'; - } elseif($CFG->changepassword) { - $passwordchangeurl=$CFG->changepassword; } - // check whether the user should be changing password if (get_user_preferences('auth_forcepasswordchange', false)){ @@ -219,10 +216,7 @@ defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.'); //Select password change url if (is_internal_auth() || $CFG->{'auth_'.$USER->auth.'_stdchangepassword'}){ $passwordchangeurl=$CFG->wwwroot.'/login/change_password.php'; - } elseif($CFG->changepassword) { - $passwordchangeurl=$CFG->changepassword; - } - + } // check whether the user should be changing password if (get_user_preferences('auth_forcepasswordchange', false)){ @@ -319,4 +313,4 @@ defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.'); // No footer on this page -?> \ No newline at end of file +?> -- 2.39.5