Change password button displayed according to user's actual authentication method, not

default setting.
This commit is contained in:
thepurpleblob
2005-10-03 09:24:47 +00:00
parent 807913a608
commit 5f77cd823c
+1 -1
View File
@@ -236,7 +236,7 @@
$internalpassword = false;
if (is_internal_auth() or (!empty($CFG->{'auth_'.$USER->auth.'_stdchangepassword'}))) {
if (is_internal_auth($USER->auth) or (!empty($CFG->{'auth_'.$USER->auth.'_stdchangepassword'}))) {
if (empty($CFG->loginhttps)) {
$internalpassword = "$CFG->wwwroot/login/change_password.php";
} else {