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,
|
||||
client = Client.objects.get(api_base_id=request.session['instance']),
|
||||
preferences = preferences)
|
||||
preferences.save()
|
||||
account.save()
|
||||
request.session['user'] = user
|
||||
return redirect(home)
|
||||
|
|
Loading…
Reference in New Issue