2021-07-16 18:23:36 -04:00
|
|
|
@extends('simple-layout')
|
|
|
|
|
|
|
|
@section('body')
|
2021-07-18 11:52:31 -04:00
|
|
|
<div class="container very-small py-xl">
|
2021-07-16 18:23:36 -04:00
|
|
|
|
|
|
|
<div class="card content-wrap auto-height">
|
2021-08-08 09:24:44 -04:00
|
|
|
<h1 class="list-heading">{{ trans('auth.mfa_verify_access') }}</h1>
|
|
|
|
<p class="mb-none">{{ trans('auth.mfa_verify_access_desc') }}</p>
|
2021-07-16 18:23:36 -04:00
|
|
|
|
2021-07-18 11:52:31 -04:00
|
|
|
@if(!$method)
|
|
|
|
<hr class="my-l">
|
2021-08-08 09:24:44 -04:00
|
|
|
<h5>{{ trans('auth.mfa_verify_no_methods') }}</h5>
|
|
|
|
<p class="small">{{ trans('auth.mfa_verify_no_methods_desc') }}</p>
|
2021-07-18 11:52:31 -04:00
|
|
|
<div>
|
2021-08-08 09:24:44 -04:00
|
|
|
<a href="{{ url('/mfa/setup') }}" class="button outline">{{ trans('common.configure') }}</a>
|
2021-07-18 11:52:31 -04:00
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2021-08-02 10:04:43 -04:00
|
|
|
@if($method)
|
|
|
|
<hr class="my-l">
|
|
|
|
@include('mfa.verify.' . $method)
|
|
|
|
@endif
|
2021-07-16 18:23:36 -04:00
|
|
|
|
2021-07-18 11:52:31 -04:00
|
|
|
@if(count($otherMethods) > 0)
|
|
|
|
<hr class="my-l">
|
|
|
|
@foreach($otherMethods as $otherMethod)
|
2021-08-02 11:35:37 -04:00
|
|
|
<div class="text-center">
|
2021-08-08 09:24:44 -04:00
|
|
|
<a href="{{ url("/mfa/verify?method={$otherMethod}") }}">{{ trans('auth.mfa_verify_use_' . $otherMethod) }}</a>
|
2021-08-02 11:35:37 -04:00
|
|
|
</div>
|
2021-07-18 11:52:31 -04:00
|
|
|
@endforeach
|
|
|
|
@endif
|
|
|
|
|
2021-07-16 18:23:36 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@stop
|