@extends('layouts.app') @section('content')
{{ __('Two Factor Authentication') }}
@include('Layout::admin.message')
@csrf @switch(request('type')) @case("recovery_code")
{{ __('Please confirm access to your account by entering one of your emergency recovery codes.') }}
@if ($errors->has('recovery_code')) {{ $errors->first('recovery_code') }} @endif
@break @default
{{ __('Please confirm access to your account by entering the authentication code provided by your authenticator application.') }}
@if ($errors->has('code')) {{ $errors->first('code') }} @endif
@break @endswitch
@if(request('type') == 'recovery_code') {{__('Use an authentication code')}} @else {{__('Use a recovery code')}} @endif
@endsection