Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Renamed template confirmation e-mail template variable from 'user' to…

… 'newuser' to avoid having it clobbered by the 'auth' context processor.
  • Loading branch information...
commit 50251f68fda7a2b35a57e856810cc6ab9063bb36 1 parent 5b7e0fb
Simon Willison authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_openid/registration.py
View
2  django_openid/registration.py 100755 → 100644
@@ -199,7 +199,7 @@ def send_confirm_email(self, request, user):
message = self.render(request, self.confirm_email_template, {
'url': url,
'code': code,
- 'user': user,
+ 'newuser': user,
}).content,
from_email = from_email,
recipient_list = [user.email]
Please sign in to comment.
Something went wrong with that request. Please try again.