mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-23 07:13:52 -05:00
Correct last commit
This commit is contained in:
parent
b1eb270881
commit
f2abaaa885
@ -425,7 +425,7 @@ def old_login(request):
|
|||||||
except IntegrityError:
|
except IntegrityError:
|
||||||
account = Account.objects.get(username=account.username)
|
account = Account.objects.get(username=account.username)
|
||||||
accounts_dict[account.username] = { 'account_id': account.id, 'user': user }
|
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:
|
except Exception as ex:
|
||||||
form.add_error('', ex)
|
form.add_error('', ex)
|
||||||
return render(request, 'setup/login.html', {'form': form})
|
return render(request, 'setup/login.html', {'form': form})
|
||||||
|
Loading…
Reference in New Issue
Block a user