For changing password, default change password was selected rather than

for the auth method actually used by the user.
This commit is contained in:
thepurpleblob
2005-08-17 10:31:46 +00:00
parent 6a239dbe87
commit 64fdd835fb
+1 -1
View File
@@ -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;