mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-38113: Blind Marking grader email reveals submitters details
This commit is contained in:
parent
24ace4b795
commit
9ecded01cc
@ -3607,6 +3607,9 @@ class assign {
|
||||
$info = new stdClass();
|
||||
if ($blindmarking) {
|
||||
$info->username = get_string('participant', 'assign') . ' ' . $uniqueidforuser;
|
||||
$userfrom->firstname = get_string('participant', 'assign');
|
||||
$userfrom->lastname = $uniqueidforuser;
|
||||
$userfrom->email = $CFG->noreplyaddress;
|
||||
} else {
|
||||
$info->username = fullname($userfrom, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user