Skip to content

Commit

Permalink
For changing password, default change password was selected rather than
Browse files Browse the repository at this point in the history
for the auth method actually used by the user.
  • Loading branch information
thepurpleblob committed Aug 17, 2005
1 parent 6a239db commit 64fdd83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@


//Select password change url
if (is_internal_auth() || $CFG->{'auth_'.$USER->auth.'_stdchangepassword'}){
if (is_internal_auth($USER->auth) || $CFG->{'auth_'.$USER->auth.'_stdchangepassword'}){
$passwordchangeurl=$CFG->wwwroot.'/login/change_password.php';
} elseif($CFG->changepassword) {
$passwordchangeurl=$CFG->changepassword;
Expand Down

0 comments on commit 64fdd83

Please sign in to comment.