Restore silent SSO on app entry for users switching between apps.
Deploy Ladill Servers / deploy (push) Successful in 24s

Guests without a local session try prompt=none SSO first; marketing pages
are only for visitors with no platform session (localhost fix retained).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-18 13:47:55 +00:00
co-authored by Cursor
parent 09f63d2ca2
commit 87651fb831
+4 -3
View File
@@ -12,11 +12,12 @@ use App\Http\Controllers\Hosting\TeamController;
use App\Http\Controllers\NotificationController;
use Illuminate\Support\Facades\Route;
// Ladill Servers — VPS & dedicated servers (servers.ladill.com).
Route::get('/', fn () => auth()->check()
? redirect()->route('servers.dashboard')
: redirect()->away((string) config('ladill.marketing_url')))->name('servers.root');
: redirect()->route('sso.connect'))->name('servers.root');
// Ladill Servers — VPS & dedicated servers (servers.ladill.com).
Route::get('/login', [SsoLoginController::class, 'connect'])->name('login');
Route::get('/sso/connect', [SsoLoginController::class, 'connect'])->name('sso.connect');