@extends('EcomAuthViews::layouts.authentication.layout',[ "heightAdjuster" => (session('guest')==1) ? 80 : 400 ]) @section('content') @php $country_code = country()->code(); @endphp
@csrf @isset($challenge) @endisset @if($user->{$type})
@include('EcomAuthViews::icons.envelope') {{$user->{$type} }}. Not you? Use another account
@else
@component('EcomAuthViews::components.phone' , ['phone_value' => ""] ) @endcomponent
@endif @if($login_type == "otp") @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "text", "label" => ___('authentication.pin') ])
@error('code') {{$message}} @enderror @endcomponent @else @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "text", "label" => ___('authentication.password') ])
@error('password') {{$message}} @enderror @endcomponent @endif @if($login_type == "otp")
Didn't revieve OTP? current())}}?resend=true"> Resend
@endif @if( session('guest') != 1)
@if(count($other_auth_methods) > 0)
OR
@endif
@foreach($other_auth_methods as $method) @if(!$loop->first)
@endif {{$method['label']}} @endforeach
@endif
@endsection @section('scripts') @endsection