Commits

Alen Mujezinovic committed 49b5a1d

Added `request` to `openid_form` and `twitter_button`

  • Participants
  • Parent commits 8fa0ce0

Comments (0)

Files changed (2)

socialregistration/templatetags/openid_tags.py

         next = context['next']
     else:
         next = None
-    return dict(next=next, logged_in=logged_in)
+    return dict(next=next, logged_in=logged_in, request=context['request'])

socialregistration/templatetags/twitter_tags.py

         next = context['next']
     else:
         next = None
-    return dict(next=next, logged_in=logged_in)
+    return dict(next=next, logged_in=logged_in, request=context['request'])