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

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:06 +00:00
co-authored by Cursor
parent 9015039e48
commit ea612fbc23
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,5 +2,5 @@
return [ return [
'product_slug' => 'events', 'product_slug' => 'events',
'marketing_url' => env('LADILL_MARKETING_URL', 'https://localhost/products/events'), 'marketing_url' => env('LADILL_MARKETING_URL', 'https://ladill.com/products/events'),
]; ];
+1 -1
View File
@@ -18,7 +18,7 @@ use Illuminate\Support\Facades\Route;
Route::get('/', fn () => auth()->check() Route::get('/', fn () => auth()->check()
? redirect()->route('events.dashboard') ? redirect()->route('events.dashboard')
: redirect()->route('sso.connect'))->name('events.root'); : redirect()->away((string) config('ladill.marketing_url')))->name('events.root');
Route::get('/login', [SsoLoginController::class, 'connect'])->name('login'); Route::get('/login', [SsoLoginController::class, 'connect'])->name('login');
Route::get('/sso/connect', [SsoLoginController::class, 'connect'])->name('sso.connect'); Route::get('/sso/connect', [SsoLoginController::class, 'connect'])->name('sso.connect');