Forráskód Böngészése

优化会话时长

liuhairui 2 hete
szülő
commit
e6958f3dd0
1 módosított fájl, 1 hozzáadás és 1 törlés
  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);