Fix guest entry: correct marketing URL and stop auto silent SSO.
Deploy Ladill Hosting / deploy (push) Successful in 34s

Correct localhost marketing_url default and stop redirecting guests through
/sso/connect on visit; SSO starts only via explicit sign-in.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-18 13:09:24 +00:00
co-authored by Cursor
parent 8d076d9fe0
commit ea7e46a260
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ $serversApp = fn (string $path = ''): string => 'https://'.config('app.servers_d
Route::get('/', fn () => auth()->check()
? redirect()->route('hosting.dashboard')
: redirect()->route('sso.connect'))->name('hosting.root');
: redirect()->away((string) config('ladill.marketing_url')))->name('hosting.root');
Route::get('/login', [SsoLoginController::class, 'connect'])->name('login');
Route::get('/sso/connect', [SsoLoginController::class, 'connect'])->name('sso.connect');