plugin misc_account: do not send the password with the confirmation email for account creation

This commit is contained in:
souliane 2014-05-20 15:47:08 +02:00
commit d70cbb3b7f

View file

@ -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