mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 06:46:24 +00:00
fix: 高危命令邮件收不到
This commit is contained in:
@@ -83,7 +83,7 @@ class CommandAlertMessage(CommandAlertMixin, SystemMessage):
|
||||
'command': input
|
||||
}
|
||||
|
||||
message = self._get_message(command)
|
||||
message = self._get_message()
|
||||
|
||||
return {
|
||||
'subject': subject,
|
||||
@@ -134,7 +134,7 @@ class CommandExecutionAlert(CommandAlertMixin, SystemMessage):
|
||||
subject = _("Insecure Web Command Execution Alert: [%(name)s]") % {
|
||||
'name': command['user'],
|
||||
}
|
||||
message = self._get_message(command)
|
||||
message = self._get_message()
|
||||
|
||||
return {
|
||||
'subject': subject,
|
||||
|
Reference in New Issue
Block a user