mirror of https://github.com/zulip/zulip.git
sso: Fix missing context instance.
(imported from commit dd4116282bd57e1682d9b3fb3ace66c2ab9b58c1)
This commit is contained in:
parent
691c861c85
commit
a5d64e4288
|
@ -471,7 +471,8 @@ def maybe_send_to_registration(request, email, full_name=''):
|
||||||
# Explanation: http://stackoverflow.com/a/5605354/90777
|
# Explanation: http://stackoverflow.com/a/5605354/90777
|
||||||
urllib.quote_plus(full_name.encode('utf8')))))
|
urllib.quote_plus(full_name.encode('utf8')))))
|
||||||
else:
|
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):
|
def remote_user_sso(request):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue