mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-23 15:23:52 -05:00
Return a response in worst old_login case
This commit is contained in:
parent
f2abaaa885
commit
1c13a9a04b
@ -426,6 +426,7 @@ def old_login(request):
|
||||
account = Account.objects.get(username=account.username)
|
||||
accounts_dict[account.username] = { 'account_id': account.id, 'user': user }
|
||||
request.session['accounts_dict'] = accounts_dict
|
||||
return redirect(home)
|
||||
except Exception as ex:
|
||||
form.add_error('', ex)
|
||||
return render(request, 'setup/login.html', {'form': form})
|
||||
|
Loading…
Reference in New Issue
Block a user