@extends('auth.master',['menu'=>'dashboard']) @section('title', isset($title) ? $title : __('Google auth two factor')) @section('content')

{{__('Two Factor Authentication')}}

@if(in_array(GOOGLE_AUTH,$two_factor) && Auth::user()->g2f_enabled == ENABLE)
Google
@endif @if(in_array(EMAIL_AUTH,$two_factor) && Auth::user()->email_enabled == ENABLE)
Email
@endif @if(in_array(PHONE_AUTH,$two_factor) && Auth::user()->phone_enabled == ENABLE)
Phone
@endif

{{Form::open(['route' => 'twoFactorVerify', 'files' => true])}}
@error('code')

{{ $message }}

@enderror
@if(in_array(PHONE_AUTH,$two_factor) && Auth::user()->phone_enabled == ENABLE) {{-- {{__('Verify By Phone')}}--}} @endif @if(in_array(EMAIL_AUTH,$two_factor) && Auth::user()->email_enabled == ENABLE) {{-- {{__('Verify By Email')}}--}} @endif {{Form::close()}}

{{__('Welcome To')}} {{ settings('app_title') }}

@endsection @section('script') @endsection