mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-21559: fixed force password change for internal and external authentication in user upload.
additional note: initialize user object for required fields (columns)
This commit is contained in:
parent
c0ae6c5e0c
commit
c3231d1d57
@ -208,6 +208,8 @@ if ($formdata = $mform->is_cancelled()) {
|
||||
if (in_array($key, $upt->columns)) {
|
||||
$upt->track($key, $value);
|
||||
}
|
||||
} else {
|
||||
$user->$columns[$key] = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user