Skip to content

Commit

Permalink
merged, changepassword obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
toyomoyo committed May 31, 2006
1 parent e797711 commit c26ba25
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions auth/cas/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@
//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)){
Expand Down Expand Up @@ -219,10 +216,7 @@
//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)){
Expand Down Expand Up @@ -319,4 +313,4 @@

// No footer on this page

?>
?>

0 comments on commit c26ba25

Please sign in to comment.