Replies: 1 comment 1 reply
-
是 内部原因:如你所说,当 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
session设置为database后,登陆时sessions表的user_id为空,其它字段均正常.
尝试将DatabaseSessionHandler.php第222行return $this->container->make(Guard::class)->id();改为return Admin::user()->id ?? null;后,登陆系统时,user_id表可见用户ID。
这是配置问题还是系统问题?
Beta Was this translation helpful? Give feedback.
All reactions