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