//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)){
//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)){
// No footer on this page
-?>
\ No newline at end of file
+?>