Remove the proper cookie when logging out
Proper is a stretch... more like *the*
This commit is contained in:
parent
c04ad07169
commit
3f77f60241
1 changed files with 1 additions and 0 deletions
|
@ -40,5 +40,6 @@ async def login_post():
|
|||
async def logout():
|
||||
response = await make_response(redirect(url_for('index')))
|
||||
response.delete_cookie('SID')
|
||||
response.delete_cookie('SID', domain="." + request.host) # another invidious surprise
|
||||
|
||||
return response
|
Loading…
Add table
Add a link
Reference in a new issue