From: toyomoyo Date: Wed, 31 May 2006 06:58:51 +0000 (+0000) Subject: merged, changepassword obsolete X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c26ba25f32b130f416f4a12132b533af742ef1de;p=moodle.git merged, changepassword obsolete --- 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 +?>