From 00c15ae36338dfda3be06080d79d4c4d4213592e Mon Sep 17 00:00:00 2001 From: neronkl <49228807+neronkl@users.noreply.github.com> Date: Thu, 12 Jan 2023 16:26:42 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=8F=98=E6=9B=B4=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E5=AF=86=E7=A0=81=E9=AA=8C=E8=AF=81=E7=A0=81=E7=9F=AD?= =?UTF-8?q?=E4=BF=A1=E6=96=87=E6=A1=88=20(#882)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migrations/0020_add_reset_password_by_phone_confi.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/bkuser_core/user_settings/migrations/0020_add_reset_password_by_phone_confi.py b/src/api/bkuser_core/user_settings/migrations/0020_add_reset_password_by_phone_confi.py index ce460b252..a3ddfa004 100644 --- a/src/api/bkuser_core/user_settings/migrations/0020_add_reset_password_by_phone_confi.py +++ b/src/api/bkuser_core/user_settings/migrations/0020_add_reset_password_by_phone_confi.py @@ -26,13 +26,13 @@ def forwards_func(apps, schema_editor): key="reset_password_sms_config", example={ "sender": "蓝鲸智云", - "content": "【蓝鲸】验证码:{verification_code}您正在重置密码,如非本人操作,请忽略该短信", - "content_html": "
【蓝鲸】验证码:{verification_code},您正在重置密码,如非本人操作,请忽略该短信
" + "content": "蓝鲸验证码:{verification_code}您正在重置密码,如非本人操作,请忽略该短信", + "content_html": "蓝鲸验证码:{verification_code},您正在重置密码,如非本人操作,请忽略该短信
" }, default={ "sender": "蓝鲸智云", - "content": "【蓝鲸】验证码:{verification_code},您正在重置密码,如非本人操作,请忽略该短信", - "content_html": "【蓝鲸】验证码:{verification_code},您正在重置密码,如非本人操作,请忽略该短信
" + "content": "蓝鲸验证码:{verification_code},您正在重置密码,如非本人操作,请忽略该短信", + "content_html": "蓝鲸验证码:{verification_code},您正在重置密码,如非本人操作,请忽略该短信
" }, ), # 最大验证失败次数