@extends('adminlte::auth.auth-page', ['auth_type' => 'login']) @section('auth_header')

Verify with OTP

Enter the 6-digit code sent to your email.

@stop @section('auth_body') {!! html()->form('POST', route('otp.verify'))->id('otpForm')->class('validate-form')->open() !!} {!! html()->token() !!} {{-- OTP field --}}
{!! html()->text('otp')->class('form-control' . ($errors->has('otp') ? ' is-invalid' : ''))->placeholder('Enter OTP')->attribute('maxlength', 6)->required() !!}
@error('otp') {{ $message }} @enderror
{{-- Submit button --}}
{!! html()->button()->type('submit')->class('btn btn-block ' . config('adminlte.classes_auth_btn', 'btn-flat btn-primary'))->html('Verify OTP') !!}
{!! html()->form()->close() !!}
{{-- Resend OTP --}} {!! html()->form('POST', route('otp.resend'))->id('resendOtpForm')->class('mt-2')->open() !!} {!! html()->token() !!} {!! html()->form()->close() !!} {{-- Back to Sign in --}} Back to {{ __('adminlte::adminlte.sign_in') }}
@stop @push('js') @endpush