# HG changeset patch # User Brian Neal # Date 1244769349 0 # Node ID 53b7c681d80bd3149e1675b5d0dc151933884a06 # Parent 5dbfb7fec62978de05e8d767d51ac454f4eb6de6 Don't send plaintext password in confirmation email for site registration. diff -r 5dbfb7fec629 -r 53b7c681d80b gpp/accounts/forms.py --- a/gpp/accounts/forms.py Fri Jun 12 01:06:05 2009 +0000 +++ b/gpp/accounts/forms.py Fri Jun 12 01:15:49 2009 +0000 @@ -84,7 +84,6 @@ 'user_email' : pending_user.email, 'activation_link' : activation_link, 'username' : pending_user.username, - 'raw_password' : self.cleaned_data['password1'], 'admin_email' : admin_email, }) diff -r 5dbfb7fec629 -r 53b7c681d80b gpp/templates/accounts/registration_email.txt --- a/gpp/templates/accounts/registration_email.txt Fri Jun 12 01:06:05 2009 +0000 +++ b/gpp/templates/accounts/registration_email.txt Fri Jun 12 01:15:49 2009 +0000 @@ -1,6 +1,6 @@ Hello, -Welcome to {{ site_name }}! +Welcome to {{ site_name }}, {{ username }}! We have received a request from the email address {{ user_email }} to register an account at {{ site_domain }}. @@ -8,11 +8,6 @@ {{ activation_link }} -Here is the account information: - -Username: {{ username }} -Password: {{ raw_password }} - If you did not register with {{ site_domain }}, simply ignore this email. If you have questions or problems, please send an email to {{ admin_email }}. Regards,