Fix crash in oauth_callback
This commit is contained in:
parent
d90bb179d9
commit
fc80063893
|
@ -207,6 +207,7 @@ def oauth_callback(request):
|
||||||
access_token = access_token,
|
access_token = access_token,
|
||||||
client = Client.objects.get(api_base_id=request.session['instance']),
|
client = Client.objects.get(api_base_id=request.session['instance']),
|
||||||
preferences = preferences)
|
preferences = preferences)
|
||||||
|
preferences.save()
|
||||||
account.save()
|
account.save()
|
||||||
request.session['user'] = user
|
request.session['user'] = user
|
||||||
return redirect(home)
|
return redirect(home)
|
||||||
|
|
Loading…
Reference in New Issue