diff src/plugins/plugin_misc_account.py @ 1040:76ad41b708e1

plugin misc_account: do not send the password with the confirmation email for account creation
author souliane <souliane@mailoo.org>
date Tue, 20 May 2014 15:47:08 +0200
parents e90125d07072
children 9095263011b6
line wrap: on
line diff
--- a/src/plugins/plugin_misc_account.py	Tue May 20 09:34:02 2014 +0200
+++ b/src/plugins/plugin_misc_account.py	Tue May 20 15:47:08 2014 +0200
@@ -207,10 +207,9 @@
 
 /!\\ 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 @@
 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