Rename endpoint function logout -> post_logout.

This commit is contained in:
voussoir 2022-09-29 17:34:56 -07:00
parent 707d1ec829
commit 1e5fc81019
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

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