fix logout method
This commit is contained in:
parent
021f3bcb7c
commit
67766a7708
|
@ -98,7 +98,7 @@ def oauth_redirect():
|
||||||
return redirect(url_for('home'))
|
return redirect(url_for('home'))
|
||||||
|
|
||||||
# logout
|
# logout
|
||||||
@app.route('/logout')
|
@app.route('/logout', methods=['POST'])
|
||||||
def logout():
|
def logout():
|
||||||
token_id = session.get('token_id')
|
token_id = session.get('token_id')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user