@php $mailboxLoginEnabled = \App\Models\SystemSetting::enabled( 'mailbox_login_enabled', (bool) config('fortymail.mailbox_login_enabled', true) ); @endphp

{{ $mailboxLoginEnabled ? __('Open your mailbox') : __('Welcome back') }}

@if($mailboxLoginEnabled) {{ __('Sign in with your email address and mailbox password.') }} @else {{ __('Log in to your :app account', ['app' => config('app.name')]) }} @endif

@if($mailboxLoginEnabled)

{{ __('No separate FortyMail account is required. Your mailbox is created on the mail server; FortyMail verifies it securely over IMAP and configures SMTP automatically.') }}

@endif
@csrf
@error('email')

{{ $message }}

@enderror
@unless($mailboxLoginEnabled) {{ __('Forgot password?') }} @endunless
@unless($mailboxLoginEnabled)
{{ __('Or continue with') }}
@if(\App\Models\SystemSetting::enabled('social_login_enabled', true)) @endif @if(\Illuminate\Support\Facades\Route::has('register') && \App\Models\SystemSetting::enabled('registration_enabled', false))

{{ __("Don't have an account?") }} {{ __('Sign up') }}

@endif @endunless