@php $setting = App\Models\Utility::getAdminPaymentSetting(); $languages = App\Models\Utility::languages(); config([ 'captcha.sitekey' => $setting['google_recaptcha_key'], 'captcha.secret' => $setting['google_recaptcha_secret'], 'options' => [ 'timeout' => 30, ], ]); @endphp @extends('layouts.guest') @section('page-title') {{ __('Login') }} @endsection @section('language-bar')
@endsection @section('content')

{{ __('Login') }}

{{-- @if (env('RECAPTCHA_MODULE') != 'on') @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @endif --}} @if(session()->has('error'))

{{session('error')}}

@endif
@csrf
@error('email') {{ $message }} @enderror
@error('password') {{ $message }} @enderror
{{-- @if (env('RECAPTCHA_MODULE') == 'on') --}} @if ($setting['recaptcha_module'] == 'on')
{{-- {!! NoCaptcha::display() !!} --}} {!! NoCaptcha::display($setting['cust_darklayout']=='on' ? ['data-theme' => 'dark'] : []) !!} @error('g-recaptcha-response') {{ $message }} @enderror
@endif
@if ($setting['signup_button'] == 'on')

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

@endif
@endsection @push('custom-scripts') @if ($setting['recaptcha_module'] == 'on') {!! NoCaptcha::renderJs() !!} @endif @endpush