From fc80063893944077f809e8b5a676d9cd2f0d267e Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Mon, 27 Aug 2018 08:28:17 -0400 Subject: [PATCH] Fix crash in oauth_callback --- brutaldon/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/brutaldon/views.py b/brutaldon/views.py index 308e97a..2173e6c 100644 --- a/brutaldon/views.py +++ b/brutaldon/views.py @@ -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)