fix logout method

This commit is contained in:
Swapnil 2024-01-30 11:41:58 +05:30
parent e489685196
commit 715cb7d046
Signed by: swapnil
GPG Key ID: 58029C48BB100574
1 changed files with 1 additions and 1 deletions

View File

@ -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')