annotate gpp/templates/accounts/registration_email.txt @ 507:8631d32e6b16

Some users are still having problems with the pop-up login. I think they are actually getting 403s because of the CSRF protection. So I have modified the base template to always have a javascript variable called csrf_token available when they aren't logged in. The ajax_login.js script was then modified to send this value with the ajax post. Fingers crossed.
author Brian Neal <bgneal@gmail.com>
date Sun, 04 Dec 2011 03:05:21 +0000
parents 53b7c681d80b
children
rev   line source
gremmie@1 1 Hello,
gremmie@1 2
bgneal@40 3 Welcome to {{ site_name }}, {{ username }}!
gremmie@1 4
gremmie@1 5 We have received a request from the email address {{ user_email }} to register an account at {{ site_domain }}.
gremmie@1 6
gremmie@1 7 To finish the registration process, please visit the link below to activate your account. The link will expire in 24 hours, after which you will have to register again.
gremmie@1 8
gremmie@1 9 {{ activation_link }}
gremmie@1 10
gremmie@1 11 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 }}.
gremmie@1 12
gremmie@1 13 Regards,
gremmie@1 14
gremmie@1 15 The staff at {{ site_name }}