From 8125e664b11bdd692cc2e68758720975152adaf6 Mon Sep 17 00:00:00 2001
From: philipp lang <philipp@aweos.de>
Date: Sat, 24 Feb 2024 00:36:21 +0100
Subject: [PATCH] Lint

---
 src/Authentication/MainCookie.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Authentication/MainCookie.php b/src/Authentication/MainCookie.php
index f224569..e4c8a32 100644
--- a/src/Authentication/MainCookie.php
+++ b/src/Authentication/MainCookie.php
@@ -77,7 +77,7 @@ class MainCookie extends Authenticator
 
     private function newFileName(): string
     {
-        return parent::$path . '/' . time() . '.txt';
+        return parent::$path . '/' . now()->timestamp . '.txt';
     }
 
     private function isExpired(): bool