fix logout method

This commit is contained in:
Swapnil 2024-01-30 11:41:58 +05:30
parent 021f3bcb7c
commit 67766a7708
Signed by: swapnil
GPG Key ID: 58029C48BB100574

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