From 97825efeae03efc24c9f824a471291baa5762959 Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Mon, 8 Apr 2024 19:12:09 +0900 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E3=82=8A=E4=BB=A3=E3=82=8F=E3=82=8A?= =?UTF-8?q?=E3=81=A7=E3=81=AA=E3=81=84=E5=A0=B4=E5=90=88=E3=82=82=E9=A1=A7?= =?UTF-8?q?=E5=AE=A2=E3=82=B9=E3=82=A4=E3=83=83=E3=83=81=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Sessions/SessionUser.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Sessions/SessionUser.php b/app/Sessions/SessionUser.php index fe877bc..89575d2 100644 --- a/app/Sessions/SessionUser.php +++ b/app/Sessions/SessionUser.php @@ -35,6 +35,10 @@ class SessionUser // 認証していない場合はスキップ $this->user = Auth::user(); + if ($this->user instanceof User && $this->user->customer_id) { + HtpmsCustomerConnectionSwitch::switch($this->user->customer_id); + } + $user = Auth::user(); $ckeck = Auth::check(); if ($this->user === null) {