mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
portal:auth: remove touch in delete_session_cookie
This commit is contained in:
parent
6f9203c98c
commit
246c513796
1 changed files with 0 additions and 2 deletions
|
@ -184,8 +184,6 @@ class Authenticator(BaseAuthenticator):
|
|||
except Exception as e:
|
||||
logger.debug(f"User logged out, but failed to properly invalidate the session : {e}")
|
||||
|
||||
session_file = f'{SESSION_FOLDER}/{infos["id"]}'
|
||||
os.system(f'touch "{session_file}"')
|
||||
response.delete_cookie("yunohost.portal", path="/")
|
||||
|
||||
def purge_expired_session_files(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue