From a842a71f4062f54b3d6cc4ab900ffc3639c686df Mon Sep 17 00:00:00 2001 From: subhajit Date: Tue, 14 Jul 2026 16:27:38 +0530 Subject: [PATCH] blank space --- app/Http/Controllers/DashboardController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Controllers/DashboardController.php b/app/Http/Controllers/DashboardController.php index 00dbc11..4fe1cb9 100644 --- a/app/Http/Controllers/DashboardController.php +++ b/app/Http/Controllers/DashboardController.php @@ -36,8 +36,7 @@ public function launchSSO($id) return redirect()->route('dashboard')->with('error', 'Access denied. You do not have permission to access this service.'); } - // If user is logged in via Microsoft, route all service launches (including Keka) - // through the Microsoft SSO flow to ensure their browser has an active Microsoft session. + if ($user->microsoft_id) { // Save target app URL in session so callback knows where to redirect session(['sso_target_url' => $app->url]);