sso: Fix missing context instance.

(imported from commit dd4116282bd57e1682d9b3fb3ace66c2ab9b58c1)
This commit is contained in:
Tim Abbott 2013-11-13 15:16:06 -05:00
parent 691c861c85
commit a5d64e4288
1 changed files with 2 additions and 1 deletions

View File

@ -471,7 +471,8 @@ def maybe_send_to_registration(request, email, full_name=''):
# Explanation: http://stackoverflow.com/a/5605354/90777
urllib.quote_plus(full_name.encode('utf8')))))
else:
return render_to_response('zerver/accounts_home.html', {'form': form})
return render_to_response('zerver/accounts_home.html', {'form': form},
context_instance=RequestContext(request))
def remote_user_sso(request):
try: