plugin misc_account: do not send the password with the confirmation email for account creation
This commit is contained in:
parent
8eddcc4ec9
commit
d70cbb3b7f
1 changed files with 2 additions and 3 deletions
|
|
@ -207,10 +207,9 @@ class MiscAccount(object):
|
|||
|
||||
/!\\ WARNING, THIS IS ONLY A TECHNICAL DEMO, DON'T USE THIS ACCOUNT FOR ANY SERIOUS PURPOSE /!\\
|
||||
|
||||
Here are your connection informations:
|
||||
Here is your connection information:
|
||||
---
|
||||
login: %(login)s
|
||||
password: %(password)s
|
||||
|
||||
Your Jabber ID (JID) is: %(jid)s
|
||||
---
|
||||
|
|
@ -223,7 +222,7 @@ follow SàT news: http://www.goffi.org
|
|||
Any feedback welcome
|
||||
|
||||
Cheers
|
||||
SàT team""" % {'login': login, 'password': password, 'jid': "%s@%s" % (login, self.getConfig('new_account_domain'))}).encode('utf-8')
|
||||
SàT team""" % {'login': login, 'jid': "%s@%s" % (login, self.getConfig('new_account_domain'))}).encode('utf-8')
|
||||
msg = MIMEText(body, 'plain', 'UTF-8')
|
||||
msg['Subject'] = 'Libervia account created'
|
||||
msg['From'] = _email_from
|
||||
|
|
|
|||
Loading…
Reference in a new issue