mirror of https://gitlab.com/brutaldon/brutaldon
Correct last commit
This commit is contained in:
parent
b1eb270881
commit
f2abaaa885
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue