Rename endpoint function logout -> post_logout.
This commit is contained in:
parent
707d1ec829
commit
1e5fc81019
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue