mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-38113: Blind Marking grader email reveals submitters details
This commit is contained in:
parent
24ace4b795
commit
9ecded01cc
1 changed files with 3 additions and 0 deletions
|
@ -3607,6 +3607,9 @@ class assign {
|
||||||
$info = new stdClass();
|
$info = new stdClass();
|
||||||
if ($blindmarking) {
|
if ($blindmarking) {
|
||||||
$info->username = get_string('participant', 'assign') . ' ' . $uniqueidforuser;
|
$info->username = get_string('participant', 'assign') . ' ' . $uniqueidforuser;
|
||||||
|
$userfrom->firstname = get_string('participant', 'assign');
|
||||||
|
$userfrom->lastname = $uniqueidforuser;
|
||||||
|
$userfrom->email = $CFG->noreplyaddress;
|
||||||
} else {
|
} else {
|
||||||
$info->username = fullname($userfrom, true);
|
$info->username = fullname($userfrom, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue