移除测试代码(导入LDAP用户的通知邮件会发送给测试邮箱而非用户邮箱)

hotfix/3.2.2-secure-fix
Apex Liu 2019-01-16 10:47:33 +08:00
parent f3419918cf
commit 597cff60d7
1 changed files with 0 additions and 1 deletions

View File

@ -683,7 +683,6 @@ class DoLdapImportHandler(TPBaseJsonHandler):
for u in user_list:
if u['_id'] == 0 or len(u['email']) == 0:
continue
u['email'] = 'apex.liu@qq.com'
mail_body = '{surname} 您好!\n\n已为您创建teleport系统用户账号现在可以使用以下信息登录teleport系统\n\n' \
'登录用户名:{username}\n' \