Showing 1 changed files with 1 additions and 1 deletions
+1 -1
templates/auto/_login.html.ep
... ...
@@ -56,7 +56,7 @@
56 56
       session(password => $password_encrypted);
57 57
       
58 58
       # 2 weeks save
59
-      session(expires => time + 60 * 60 * 24 * 14);
59
+      session(expiration => 60 * 60 * 24 * 14);
60 60
       
61 61
       # Go to admin page
62 62
       if ($admin) {