mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
feat(notify): add template about topic USER_LOGIN_EXCEPTION
This commit is contained in:
@@ -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
|
||||
@@ -34,6 +34,8 @@ const (
|
||||
SERVER_PANICKED = "SERVER_PANICKED"
|
||||
|
||||
IMAGE_ACTIVED = "IMAGE_ACTIVED"
|
||||
|
||||
USER_LOGIN_EXCEPTION = "USER_LOGIN_EXCEPTION"
|
||||
)
|
||||
|
||||
type SAction string
|
||||
|
||||
Reference in New Issue
Block a user