diff --git a/frontends/etiquette_flask/backend/endpoints/user_endpoints.py b/frontends/etiquette_flask/backend/endpoints/user_endpoints.py index 69282d0..b5fa6cc 100644 --- a/frontends/etiquette_flask/backend/endpoints/user_endpoints.py +++ b/frontends/etiquette_flask/backend/endpoints/user_endpoints.py @@ -94,7 +94,7 @@ def post_login(): return flasktools.json_response({}) @site.route('/logout', methods=['POST']) -def logout(): +def post_logout(): session_manager.remove(request) response = flasktools.json_response({}) return response