From 861ae7245cf1027b6ccd1b76702c528f38413fb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Mogu=C3=A9rou?= Date: Mon, 15 May 2023 06:03:55 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20suppression=20automatique=20d?= =?UTF-8?q?es=20sessions=20obsol=C3=A8tes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views.py b/app/views.py index f9a5108..9c8e6b4 100644 --- a/app/views.py +++ b/app/views.py @@ -8,6 +8,7 @@ from .database import Session def views(app, db): def est_connecte(): + db.delete_old_sessions() return session.get("uuid") is not None and db.check_connection(session.get("uuid")) def login_required(func):