portalapi: fix cookie not being deleted because maxage=-1 or something

This commit is contained in:
Alexandre Aubin 2023-07-29 19:13:00 +02:00
parent ae37b5fc24
commit 704e42a6af

View file

@ -172,5 +172,5 @@ class Authenticator(BaseAuthenticator):
from bottle import response
response.set_cookie("yunohost.portal", "", max_age=-1)
response.set_cookie("yunohost.portal", "")
response.delete_cookie("yunohost.portal")