2021-08-22 08:15:58 -04:00
|
|
|
@extends('layouts.simple')
|
2021-07-02 15:53:33 -04:00
|
|
|
|
|
|
|
@section('body')
|
|
|
|
|
|
|
|
<div class="container very-small py-xl">
|
|
|
|
<div class="card content-wrap auto-height">
|
2021-08-08 09:24:44 -04:00
|
|
|
<h1 class="list-heading">{{ trans('auth.mfa_gen_backup_codes_title') }}</h1>
|
|
|
|
<p>{{ trans('auth.mfa_gen_backup_codes_desc') }}</p>
|
2021-07-02 15:53:33 -04:00
|
|
|
|
|
|
|
<div class="text-center mb-xs">
|
|
|
|
<div class="text-bigger code-base p-m" style="column-count: 2">
|
|
|
|
@foreach($codes as $code)
|
|
|
|
{{ $code }} <br>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p class="text-right">
|
2021-08-08 09:24:44 -04:00
|
|
|
<a href="{{ $downloadUrl }}" download="backup-codes.txt" class="button outline small">{{ trans('auth.mfa_gen_backup_codes_download') }}</a>
|
2021-07-02 15:53:33 -04:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p class="callout warning">
|
2021-08-08 09:24:44 -04:00
|
|
|
{{ trans('auth.mfa_gen_backup_codes_usage_warning') }}
|
2021-07-02 15:53:33 -04:00
|
|
|
</p>
|
|
|
|
|
2021-08-02 17:02:25 -04:00
|
|
|
<form action="{{ url('/mfa/backup_codes/confirm') }}" method="POST">
|
2021-07-02 15:53:33 -04:00
|
|
|
{{ csrf_field() }}
|
|
|
|
<div class="mt-s text-right">
|
|
|
|
<a href="{{ url('/mfa/setup') }}" class="button outline">{{ trans('common.cancel') }}</a>
|
2021-08-08 09:24:44 -04:00
|
|
|
<button class="button">{{ trans('auth.mfa_gen_confirm_and_enable') }}</button>
|
2021-07-02 15:53:33 -04:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|