Correct last commit

This commit is contained in:
Jason McBrayer 2019-04-24 09:18:51 -04:00
parent b1eb270881
commit f2abaaa885
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ def old_login(request):
except IntegrityError:
account = Account.objects.get(username=account.username)
accounts_dict[account.username] = { 'account_id': account.id, 'user': user }
request.settings['account_dict'] = accounts_dict
request.session['accounts_dict'] = accounts_dict
except Exception as ex:
form.add_error('', ex)
return render(request, 'setup/login.html', {'form': form})