From 67766a7708fbd54f0497f2e94cc4f4415539f770 Mon Sep 17 00:00:00 2001 From: Swapnil Date: Tue, 30 Jan 2024 11:41:58 +0530 Subject: [PATCH] fix logout method --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index d185a27..fbed310 100644 --- a/app/main.py +++ b/app/main.py @@ -98,7 +98,7 @@ def oauth_redirect(): return redirect(url_for('home')) # logout -@app.route('/logout') +@app.route('/logout', methods=['POST']) def logout(): token_id = session.get('token_id')