mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
MDL-20948 auth plguins do not throw notices in methods if not configured yet
This commit is contained in:
parent
e79781f72e
commit
8139c92f6d
@ -29,7 +29,7 @@ if ($confirm and confirm_sesskey()) {
|
||||
if (!$auth = get_auth_plugin($authname)) {
|
||||
continue;
|
||||
}
|
||||
if (@$auth->is_internal() and @$auth->can_change_password()) { // plugins may not be configured yet, not nice :-(
|
||||
if ($auth->is_internal() and $auth->can_change_password()) {
|
||||
$changeable[$authname] = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user