{{-- Login form column — shared by the original (variant 1) layout AND the variants 2–5. No outer chrome / no logo here; the wrapper supplies those. --}} @php $__brandName = (string) brand_name(); @endphp
{{ __('Sign in') }}

{{ __('Welcome') }} {{ __('back') }}.

{{ __('Enter your details below to get back into your workspace.') }}

{{-- On a verified white-label (tenant) domain, hide social sign-in: those buttons can create brand-new accounts, which a client's own branded portal must not offer. Same gate as the "Create an account" link below. --}} @unless ($isTenantDomain ?? false) @include('auth._social') @endunless @if ($errors->any())
@foreach ($errors->all() as $err)
{{ $err }}
@endforeach
@endif @if (session('error'))
{{ session('error') }}
@endif @if (session('status'))
{{ session('status') }}
@endif
@csrf {{-- Return to the deep link (?next=) after login ONLY when running as the INSTALLED app (standalone display mode) — e.g. the Team-Inbox PWA lands back on /team-inbox. Normal WEB logins are UNTOUCHED: the field stays empty for them, so they keep their existing dashboard/role behaviour. The script fills it only in standalone (PWA) mode. --}}
{{ __('Forgot password?') }}
@include('auth._recaptcha', ['action' => 'login']) {{-- On a white-label custom domain we only offer sign-in — no public registration for a workspace-locked tenant site. Also hide if public registration is toggled OFF by admin. --}} @php $__publicRegEnabled = (bool) \App\Models\SystemSetting::get('public_registration', true); @endphp @if (!($isTenantDomain ?? false) && $__publicRegEnabled)

{{ __('New to') }} {{ $__brandName }}? {{ __('Create an account') }}

@endif
@php $authTermsUrl = \App\Models\SystemSetting::get('privacy_terms_url', '') ?: url('/legal/terms'); $authPrivacyUrl = \App\Models\SystemSetting::get('privacy_policy_url', '') ?: url('/legal/privacy'); $authCookiesUrl = (string) \App\Models\SystemSetting::get('privacy_cookies_policy_url', ''); @endphp

{{ __('By signing in you agree to our') }} {{ __('Terms') }} {{ __('and') }} {{ __('Privacy policy') }}@if ($authCookiesUrl !== ''), {{ __('Cookies') }}@endif.