Pārlūkot izejas kodu

优化会话时长

liuhairui 1 nedēļu atpakaļ
vecāks
revīzija
e6958f3dd0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);