Skip to content

Commit

Permalink
fix: Add masked email to admin copies
Browse files Browse the repository at this point in the history
  • Loading branch information
kumy committed May 25, 2024
1 parent af19003 commit 7874771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/app/GeoKrety/Email/BasePHPMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function sendCopyToAdmins(User $user): void {
if (is_null($admin)) {
continue;
}
$admin->username = $user->username.' (admin)';
$admin->username = $user->username.' (admin) - '.Mask::mask_email($user->email);
$admin->preferred_language = $user->preferred_language;
$this->recipients[] = $admin;
}
Expand Down

0 comments on commit 7874771

Please sign in to comment.