Fix error in oath_callback

This commit is contained in:
Jason McBrayer 2019-04-24 06:26:11 -04:00
parent 372422f9a3
commit d19abee083
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ def oauth_callback(request):
accounts_dict = request.session.get('accounts_dict')
if not accounts_dict:
accounts_dict = {}
accounts_dict[account.username] = { account_id: account.id, user: user }
accounts_dict[account.username] = { 'account_id': account.id, 'user': user }
request.session['accounts_dict'] = accounts_dict
return redirect(home)