feat(notify): add template about topic USER_LOGIN_EXCEPTION

This commit is contained in:
rainzm
2021-01-13 19:35:54 +08:00
parent 4370db008e
commit f8bace5b4e
5 changed files with 14 additions and 0 deletions
@@ -0,0 +1,5 @@
{{- if .admin -}}
域{{ .domain }}下的账号{{ .user }}由于异常登录已被锁定,请您核实用户使用情况。如果需要为用户解锁,请到用户列表启用该用户。
{{- else -}}
您的账号{{ .user }}由于异常登录已被锁定,请联系管理员解锁账号。
{{- end -}}
@@ -0,0 +1,5 @@
{{- if .admin -}}
The account {{ .user }} in domain {{ .domain }} has been locked due to abnormal login. Please verify the situation and, if you need to unlock this account, enable it in the user list.
{{- else -}}
The account {{ .user }} has been locked due to abnormal login. Please contact the administrator to unlock your account.
{{- end -}}
@@ -0,0 +1 @@
安全告警
@@ -0,0 +1 @@
Security Alerts
+2
View File
@@ -34,6 +34,8 @@ const (
SERVER_PANICKED = "SERVER_PANICKED"
IMAGE_ACTIVED = "IMAGE_ACTIVED"
USER_LOGIN_EXCEPTION = "USER_LOGIN_EXCEPTION"
)
type SAction string