From a38c9a84c0222690fde278dfec5bef8cd5befdfa Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Sat, 12 Oct 2024 11:13:45 +0800 Subject: [PATCH] update --- app/Admin.php | 2 +- config/session.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Admin.php b/app/Admin.php index 0f46077..56f2cae 100644 --- a/app/Admin.php +++ b/app/Admin.php @@ -68,7 +68,7 @@ class Admin extends Authenticatable implements Auditable * @var array */ protected $fillable = [ - 'name', 'username', 'password','project_ids' + 'name', 'username', 'password','project_ids','remember_token' ]; /** diff --git a/config/session.php b/config/session.php index 54baba3..da692f3 100644 --- a/config/session.php +++ b/config/session.php @@ -33,7 +33,7 @@ return [ 'lifetime' => env('SESSION_LIFETIME', 120), - 'expire_on_close' => true, + 'expire_on_close' => false, /* |--------------------------------------------------------------------------