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