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):