feat: 用户登录堡垒机时通知管理员 (#11686)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-09-25 16:25:44 +08:00
committed by GitHub
parent 0f3ddc3bf1
commit 4065baf785
10 changed files with 553 additions and 381 deletions

View File

@@ -98,7 +98,7 @@ class BaseHandler:
context = self._diff_prev_approve_context(state)
context.update({'approve_info': approve_info})
body = self.safe_html_script(
render_to_string('tickets/ticket_approve_diff.html', context)
render_to_string('tickets/user_login_reminder.html', context)
)
data = {
'body': body,