From d0fed292f2e9e7a0760eb5ed2e6ff7f956b3a700 Mon Sep 17 00:00:00 2001 From: rainzm Date: Thu, 14 Jan 2021 17:10:00 +0800 Subject: [PATCH] fix(build): chage template of 'Abnormal Login' --- .../opt/yunion/share/template/content@cn/USER_LOGIN_EXCEPTION | 2 +- .../opt/yunion/share/template/title@cn/USER_LOGIN_EXCEPTION | 2 +- .../opt/yunion/share/template/title@en/USER_LOGIN_EXCEPTION | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/notify/root/opt/yunion/share/template/content@cn/USER_LOGIN_EXCEPTION b/build/notify/root/opt/yunion/share/template/content@cn/USER_LOGIN_EXCEPTION index dcae36ca25..eaef1bc1c5 100644 --- a/build/notify/root/opt/yunion/share/template/content@cn/USER_LOGIN_EXCEPTION +++ b/build/notify/root/opt/yunion/share/template/content@cn/USER_LOGIN_EXCEPTION @@ -1,5 +1,5 @@ {{- if .admin -}} -域{{ .domain }}下的账号{{ .user }}由于异常登录已被锁定,请您核实用户使用情况。如果需要为用户解锁,请到用户列表启用该用户。 +{{ .domain }}域下的账号{{ .user }}由于异常登录已被锁定,请您核实用户使用情况。如果需要为用户解锁,请到用户列表启用该用户。 {{- else -}} 您的账号{{ .user }}由于异常登录已被锁定,请联系管理员解锁账号。 {{- end -}} diff --git a/build/notify/root/opt/yunion/share/template/title@cn/USER_LOGIN_EXCEPTION b/build/notify/root/opt/yunion/share/template/title@cn/USER_LOGIN_EXCEPTION index 55a1746fe5..ed803d52c7 100644 --- a/build/notify/root/opt/yunion/share/template/title@cn/USER_LOGIN_EXCEPTION +++ b/build/notify/root/opt/yunion/share/template/title@cn/USER_LOGIN_EXCEPTION @@ -1 +1 @@ -安全告警 +异常登录 diff --git a/build/notify/root/opt/yunion/share/template/title@en/USER_LOGIN_EXCEPTION b/build/notify/root/opt/yunion/share/template/title@en/USER_LOGIN_EXCEPTION index ce81af334e..16b279812d 100644 --- a/build/notify/root/opt/yunion/share/template/title@en/USER_LOGIN_EXCEPTION +++ b/build/notify/root/opt/yunion/share/template/title@en/USER_LOGIN_EXCEPTION @@ -1 +1 @@ -Security Alerts +Abnormal Login