@php $customizerHidden = 'customizer-hide'; $configData = Helper::appClasses(); $addonService = app(\App\Services\AddonService\IAddonService::class); $isReCaptchaEnabled = $addonService->isAddonEnabled('GoogleReCAPTCHA'); $isMultiTenancyEnabled = $addonService->isAddonEnabled('MultiTenancyCore'); // Get current tenant if we're on a tenant subdomain $currentTenant = null; if ($isMultiTenancyEnabled && app()->has('tenant')) { $currentTenant = app('tenant'); } // Determine if we're on tenant or central domain $isTenantDomain = $currentTenant !== null; @endphp @extends('layouts/layoutMaster') @section('title', __('Login')) @section('vendor-style') @vite([ 'resources/assets/vendor/libs/@form-validation/form-validation.scss' ]) @endsection @section('page-style') @vite([ 'resources/assets/vendor/scss/pages/page-auth.scss' ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/@form-validation/popular.js', 'resources/assets/vendor/libs/@form-validation/bootstrap5.js', 'resources/assets/vendor/libs/@form-validation/auto-focus.js' ]) @if($isReCaptchaEnabled) @include('googlerecaptcha::components.script') @endif @endsection @section('page-script') @vite([ 'resources/assets/js/pages-auth.js' ]) @endsection @section('content')
@lang('Sign in to your account to continue')
{{-- Show registration link only on central domain when MultiTenancy is enabled --}} @if($isMultiTenancyEnabled && !$isTenantDomain)@lang('New on our platform?') @lang('Create an account')
@endif {{-- Demo credentials section --}} @if(config('app.demo') || config('app.test_mode')) @if($isTenantDomain && $currentTenant) {{-- Tenant-specific demo credentials --}}{{ $currentTenant->email }}password123admin@demo.compassword123hr@demo.compassword123employee@demo.compassword123admin@acme.demo.compassword123