Session ID is too sensitive to every safely include in email

This commit is contained in:
Jamie Cameron
2025-05-30 12:28:28 -07:00
parent 0334d55da1
commit 9d2f906439
2 changed files with 0 additions and 4 deletions

View File

@@ -407,7 +407,6 @@ log_email_time=Action performed at: $1
log_email_system=Performed on system: $1
log_email_user=Performed by user: $1
log_email_script=Webmin script: $1
log_email_session=Session ID: $1
log_email_remote=Client address: $1
nice_size_PB=PB

View File

@@ -7399,9 +7399,6 @@ if ($logemail) {
$body .= &text('log_email_user', $remote_user)."\n";
$body .= &text('log_email_remote', $param_client_ip || $ENV{'REMOTE_HOST'})."\n";
$body .= &text('log_email_script', $scriptname)."\n";
if ($main::session_id) {
$body .= &text('log_email_session', $main::session_id)."\n";
}
$body .= "\n";
$body .= $msg."\n";
my $subj = $mdesc ? &text('log_email_subject', $mdesc)