Permalink
Browse files

For changing password, default change password was selected rather than

for the auth method actually used by the user.
  • Loading branch information...
1 parent 6a239db commit 64fdd835fbd8bdc473fe13b4775d4d268f6d8bb0 thepurpleblob committed Aug 17, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 login/index.php
View
2 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;

0 comments on commit 64fdd83

Please sign in to comment.