Server IP : 66.29.132.124 / Your IP : 18.227.21.101 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/resources/views/auth/ |
Upload File : |
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center bravo-login-form-page bravo-login-page"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Two Factor Authentication') }}</div> <div class="card-body"> @include('Layout::admin.message') <form method="POST" action="{{ url('two-factor-challenge') }}"> @csrf @switch(request('type')) @case("recovery_code") <div class="mb-4 text-sm text-gray-600"> {{ __('Please confirm access to your account by entering one of your emergency recovery codes.') }} </div> <!-- Password --> <div class="form-group row"> <label for="recovery_code" class="col-md-4 col-form-label text-md-right">{{ __('Recovery Code') }}</label> <div class="col-md-6"> <input id="recovery_code" type="text" class="form-control{{ $errors->has('recovery_code') ? ' is-invalid' : '' }}" name="recovery_code" required> @if ($errors->has('recovery_code')) <span class="invalid-feedback" role="alert"> <strong>{{ $errors->first('recovery_code') }}</strong> </span> @endif </div> </div> @break @default <div class="mb-4 text-sm text-gray-600"> {{ __('Please confirm access to your account by entering the authentication code provided by your authenticator application.') }} </div> <!-- Password --> <div class="form-group row"> <label for="code" class="col-md-4 col-form-label text-md-right">{{ __('Code') }}</label> <div class="col-md-6"> <input id="code" type="text" class="form-control{{ $errors->has('code') ? ' is-invalid' : '' }}" name="code" required> @if ($errors->has('code')) <span class="invalid-feedback" role="alert"> <strong>{{ $errors->first('code') }}</strong> </span> @endif </div> </div> @break @endswitch <div class="flex justify-end mt-4"> <div class="form-group row mb-0"> <div class="offset-md-4"> @if(request('type') == 'recovery_code') <a href="{{route('two-factor.login')}}" class="btn btn-link">{{__('Use an authentication code')}}</a> @else <a href="{{route('two-factor.login',['type'=>'recovery_code'])}}" class="btn btn-link">{{__('Use a recovery code')}}</a> @endif <button type="submit" class="btn btn-primary"> {{ __('Submit') }} </button> </div> </div> </div> </form> </div> </div> </div> </div> </div> @endsection