Explorar o código

优化会话时长

liuhairui hai 3 meses
pai
achega
e6958f3dd0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
         }
         //保持会话有效时长,单位:小时
-        $keeyloginhours = 24;
+        $keeyloginhours = 72;
         if ($this->request->isPost()) {
             $username = $this->request->post('username');
             $password = $this->request->post('password', '', null);