diff --git a/src/authenticators/ldap_ynhuser.py b/src/authenticators/ldap_ynhuser.py index 5fb36550f..63f51c652 100644 --- a/src/authenticators/ldap_ynhuser.py +++ b/src/authenticators/ldap_ynhuser.py @@ -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):