mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
$form is an object (from data_submitted).
This commit is contained in:
parent
2cf089c94f
commit
150b5fb0e0
@ -470,7 +470,7 @@ class auth_plugin_db {
|
||||
// A chance to validate form data, and last chance to
|
||||
// do stuff before it is inserted in config_plugin
|
||||
function validate_form(&$form, &$err) {
|
||||
if ($form['passtype'] === 'internal') {
|
||||
if ($form->passtype === 'internal') {
|
||||
$this->config->changepasswordurl = '';
|
||||
set_config('changepasswordurl', '', 'auth/db');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user