@php $otpAvailable = app(\App\Modules\Auth\Support\OtpLogin::class)->available(); $useOtp = $otpAvailable && (request('method') === 'otp' || $errors->hasAny(['phone', 'code'])); $otpPhone = session('otp_phone'); @endphp @if ($otpAvailable)
! $useOtp])> Email & password $useOtp])> Mobile OTP
@endif @if ($useOtp) @if (! $otpPhone)
@csrf @else

Code sent to +91 {{ substr($otpPhone, 0, 5) }} {{ substr($otpPhone, 5) }}. It's valid for 10 minutes.

@csrf
@csrf
@csrf
@error('phone')
{{ $message }}
@enderror @endif @else
@csrf
Forgot password?
@endif New to {{ settings('general.site_name') }}? Create a free account