Bläddra i källkod

优化会话时长

liuhairui 3 månader sedan
förälder
incheckning
e6958f3dd0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      application/admin/controller/Index.php

+ 1 - 1
application/admin/controller/Index.php

@@ -71,7 +71,7 @@ class Index extends Backend
             $this->success(__("You've logged in, do not login again"), $url);
             $this->success(__("You've logged in, do not login again"), $url);
         }
         }
         //保持会话有效时长,单位:小时
         //保持会话有效时长,单位:小时
-        $keeyloginhours = 24;
+        $keeyloginhours = 72;
         if ($this->request->isPost()) {
         if ($this->request->isPost()) {
             $username = $this->request->post('username');
             $username = $this->request->post('username');
             $password = $this->request->post('password', '', null);
             $password = $this->request->post('password', '', null);