From d70cbb3b7f7e689e801c3489d88fe8cdd5d2405e Mon Sep 17 00:00:00 2001 From: souliane Date: Tue, 20 May 2014 15:47:08 +0200 Subject: [PATCH] plugin misc_account: do not send the password with the confirmation email for account creation --- src/plugins/plugin_misc_account.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/plugin_misc_account.py b/src/plugins/plugin_misc_account.py index 46d95d8e..111487e0 100755 --- a/src/plugins/plugin_misc_account.py +++ b/src/plugins/plugin_misc_account.py @@ -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