Permalink
Browse files

Renamed password reset e-mail template variable from 'user' to 'theus…

…er' to avoid having it clobbered by the 'auth' context processor.
  • Loading branch information...
1 parent 50251f6 commit 168c7109401c3efe4eedaa531d304da10a9f18f0 Simon Willison committed Jan 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 django_openid/auth.py
View
@@ -395,7 +395,7 @@ def send_recovery_email(self, request, user):
email_body = self.render(request, self.recovery_email_template, {
'url': url,
'code': code,
- 'user': user,
+ 'theuser': user,
}).content
send_mail(
subject = self.recovery_email_subject,

0 comments on commit 168c710

Please sign in to comment.