@extends('base') @section('title', __('Authorization')) @section('content')

{{__('Registered Customers')}}

{{ csrf_field() }} {{----}} {{--
--}}
{{--{{__('Use phone number to sign in')}} --}}

{{__('Incorrect phone number / email')}}

{{----}}

{{__('Incorrect password')}}

@if (isset($login_error)) @if ($errorAttempts == 'trial1')

{{__('Login and password do not match')}}

@elseif($errorAttempts == 'trial2')

{{__('Incorrect password lockout warning')}}

@elseif($errorAttempts == 'block')

Unknown Error! Please contact customer service.

@else

{{__('More than 5 failed login attempts made, please try again in 15 minutes')}}

@endif @endif

{{__('New to UOFFER GLOBAL?')}}

{{__('Create an account')}}
{{__('Incorrect phone number format')}}
{{__('Already registered')}}
{{__('Incorrect phone number format')}} {{--
--}} {{--
--}} {{----}} {{----}} {{--
--}} {{--
--}} {{--
--}} {{--{{__('Send Code')}}--}} {{--
--}} {{----}} {{----}} {{--
--}} {{--
--}} {{__('Incorrect code')}}
{{__('Use at least 8-16 characters and a number')}}
{{__('Password do not match')}}
{{__('Password do not match')}} {{-- ref code --}}
{{-- End ref code --}}
{{__('Create an account')}}
{{-- Forgoten Password modal --}} @include('common.modals.contents.tabs_modal', [ 'id' => 'forgotten_password_modal', 'tabs' => [ [ 'tabHeader' => __('Email verification'), 'tabView' => 'password_reset_email' ], [ 'tabHeader' => __('Phone verification'), 'tabView' => 'password_reset_phone' ] ] ]) {{-- Forgoten Password Modal --}} {{-- Change Password modal --}} @include('common.modals.contents.input_modal', [ 'id' => 'change_password_modal', 'header'=> __('Change your password'), 'inputs' => [ [ 'input' => [ 'type' => 'password', 'name' => 'new_password', 'id' => 'newPassword', 'placeholder' => __('New Password'), 'onfocusout' => 'verifyRegPass(this, \'passwordChangeContainer\')', 'autocomplete' => 'new-password' ], 'error' => [ 'class' => 'errorMsg passwordChangeContainer' ] ], [ 'input' => [ 'type' => 'password', 'name' => 'new_password_again', 'id' => 'newPasswordAgain', 'placeholder' => __('Confirm Password'), 'onfocusout' => 'verifyRegConfirmPass(this, $(\'#newPassword\'), \'passwordChangeRepeatContainer\');', 'autocomplete' => 'new-password' ], 'error' => [ 'class' => 'errorMsg passwordChangeRepeatContainer' ] ], [ 'input' => [ 'type' => 'hidden', 'name' => 'hiddenPhone', 'id' => 'hiddenPhone' ] ] ], 'callbacks' => [ [ 'callback' => '$(this).parents(\'.custom-modal\').modal(\'hide\');', 'buttonStyle' => 'dark', 'buttonText' => __('Cancel') ], [ 'callback' => 'resetPassword()', 'buttonStyle' => 'light', 'buttonText' => __('Confirm') ] ] ]) {{-- Change Password Modal --}} {{-- Success modal --}} @include('common.modals.contents.success_modal', [ 'id' => 'success_modal', 'text' => __('Password change successful') ]) {{-- Success Modal --}} {{-- password link sent modal --}} {{-- Success Modal --}} {{-- password link failed to send modal --}} {{-- Code send modal --}} {{-- Code send Modal --}} {{--Failed to Send Code Modal --}} {{--Sales QR code modal--}} @include('common.modals.contents.qr_modal', [ 'id' => 'salesCode', 'header' => __('Signed up successfully_1'), 'subHeader' => __('Signed up successfully_2'), 'image' => '', 'subText' => __('Contact our experts'), 'closeButtonAction' => 'location.href=\''.route('home').'\'' ]) {{--Sales QR code modal--}} @include('common.modals.contents.notification_modal', [ 'id' => 'registrationConfirmationModal', 'text' => __('user-account-registration-note'), 'callbacks' => [ [ 'callback'=>'createAccount()', 'buttonStyle'=>'light', 'buttonText'=>__('Confirm') ], [ 'callback'=>'$(this).parents(\'.custom-modal\').modal(\'hide\');', 'buttonStyle'=>'dark', 'buttonText'=>__('Cancel') ] ] ]) {{--Force Change Password--}} @if(isset($needResetPassword) && $needResetPassword) @include('common.modals.contents.input_modal', [ 'id' => 'force_change_password_modal', 'header'=> __('Change your password'), 'subHeader'=> __('This is your first login, please change your password.'), 'inputs' => [ [ 'input' => [ 'type' => 'password', 'name' => 'password', 'id' => 'newForcePassword', 'placeholder' => __('New Password'), 'onfocusout' => 'verifyRegPass(this, \'passwordForceChangeContainer\')' ], 'error' => [ 'class' => 'errorMsg passwordForceChangeContainer' ] ], [ 'input' => [ 'type' => 'password', 'name' => 'password_again', 'id' => 'newForcePasswordAgain', 'placeholder' => __('Confirm Password'), 'onfocusout' => 'verifyRegConfirmPass(this, $(\'#newForcePassword\'), \'passwordForceChangeRepeatContainer\');' ], 'error' => [ 'class' => 'errorMsg passwordForceChangeRepeatContainer' ] ], [ 'input' => [ 'type' => 'hidden', 'name' => 'hiddenPhone', 'id' => 'hiddenPhone' ] ] ], 'callbacks' => [ [ 'callback' => '$(this).parents(\'.custom-modal\').modal(\'hide\');', 'buttonStyle' => 'dark', 'buttonText' => __('Cancel') ], [ 'callback' => 'forceResetPassword()', 'buttonStyle' => 'light', 'buttonText' => __('Confirm') ] ] ]) @endif {{--Force Change Password--}} @endsection