diff --git a/spaceapi/views.py b/spaceapi/views.py --- a/spaceapi/views.py +++ b/spaceapi/views.py @@ -109,6 +109,9 @@ def present(): elif "leave" in request.form: active.remove_user_present(user) activev14.remove_user_present(user) + else: + return redirect(url_for("root.index")) + active.save_last_state() activev14.save_last_state() return redirect(url_for("root.index"))