]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19608 do not force changing of password in external accounts
authorPetr Skoda <skodak@moodle.org>
Tue, 24 Nov 2009 08:42:38 +0000 (08:42 +0000)
committerPetr Skoda <skodak@moodle.org>
Tue, 24 Nov 2009 08:42:38 +0000 (08:42 +0000)
admin/user/user_bulk_forcepasswordchange.php

index d47a7fff26c0c27b9567651429ddea193c0252d8..5e02065f44af2e4463e6b0afc61a704dcefb9701 100644 (file)
@@ -29,7 +29,7 @@ if ($confirm and confirm_sesskey()) {
         if (!$auth = get_auth_plugin($authname)) {
             continue;
         }
-        if (@$auth->can_change_password()) { // plugins may not be configured yet, not nice :-(
+        if (@$auth->is_internal() and @$auth->can_change_password()) { // plugins may not be configured yet, not nice :-(
             $changeable[$authname] = true;
         }
     }