Permalink
Browse files

Returning netloc results in a redirect loop

  • Loading branch information...
flashingpumpkin committed Jul 31, 2012
1 parent 18c2787 commit a4b67bb1a5c788a84bba3d05de401db88aea73c0
Showing with 1 addition and 1 deletion.
  1. +1 −1 socialregistration/mixins.py
@@ -46,7 +46,7 @@ def get_next(self, request):
if netloc and netloc != request.get_host():
next = getattr(settings, 'LOGIN_REDIRECT_URL', '/')
- return netloc
+ return next
def authenticate(self, **kwargs):
"""

0 comments on commit a4b67bb

Please sign in to comment.