From 64fdd835fbd8bdc473fe13b4775d4d268f6d8bb0 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Wed, 17 Aug 2005 10:31:46 +0000 Subject: [PATCH] For changing password, default change password was selected rather than for the auth method actually used by the user. --- login/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login/index.php b/login/index.php index 5a436307ea6..31205707078 100644 --- a/login/index.php +++ b/login/index.php @@ -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;