diff --git a/brutaldon/views.py b/brutaldon/views.py index 971c520..6680e00 100644 --- a/brutaldon/views.py +++ b/brutaldon/views.py @@ -583,6 +583,7 @@ def old_login(request): account.username = request.session["active_username"] request.session["timezone"] = account.preferences.timezone + account.save() accounts_dict = request.session.get("accounts_dict") if not accounts_dict: accounts_dict = {} @@ -591,7 +592,6 @@ def old_login(request): "user": user, } request.session["accounts_dict"] = accounts_dict - account.save() return redirect(home) except IntegrityError: