Fix Frontdesk branding on SSO error pages and document SSO secret handling.
Deploy Ladill Frontdesk / deploy (push) Successful in 34s

Use signed_out config for auth error views instead of hardcoded Ladill CRM assets left from the CRM template.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-27 20:55:49 +00:00
co-authored by Cursor
parent fcca58ccba
commit eb1178ef87
4 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
@php
$signedOut = (array) config('signed_out');
$logo = (string) ($signedOut['logo'] ?? 'images/logo/ladillcrm-logo.svg');
$logo = (string) ($signedOut['logo'] ?? 'images/logo/ladillfrontdesk-logo.svg');
$logoPath = public_path($logo);
@endphp
<!DOCTYPE html>
+9 -2
View File
@@ -1,14 +1,21 @@
@php
$signedOut = (array) config('signed_out');
$logo = (string) ($signedOut['logo'] ?? 'images/logo/ladillfrontdesk-logo.svg');
$title = (string) ($signedOut['title'] ?? config('app.name'));
$logoPath = public_path($logo);
@endphp
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sign-in problem · Ladill CRM</title>
<title>Sign-in problem · {{ $title }}</title>
@include('partials.favicon')
@vite(['resources/css/app.css'])
</head>
<body class="flex min-h-screen items-center justify-center bg-slate-50 font-sans text-slate-900 antialiased">
<div class="mx-auto max-w-md px-6 text-center">
<img src="{{ asset('images/logo/ladillcrm-logo.svg') }}" alt="Ladill CRM" class="mx-auto h-8 w-auto">
<img src="{{ asset($logo) }}?v={{ @filemtime($logoPath) ?: '1' }}" alt="{{ $title }}" class="mx-auto h-8 w-auto">
<h1 class="mt-6 text-xl font-semibold">We couldn't sign you in</h1>
<p class="mt-2 text-sm text-slate-500">
Sign-in didn't complete after a few tries. This is usually a temporary
@@ -12,7 +12,7 @@
<p style="margin-top:24px;font-size:13px;color:#64748b;"> {{ $fromName }}</p>
@endif
</div>
<p style="margin-top:16px;text-align:center;font-size:11px;color:#94a3b8;">Sent via Ladill CRM</p>
<p style="margin-top:16px;text-align:center;font-size:11px;color:#94a3b8;">Sent via Ladill Frontdesk</p>
</div>
</body>
</html>