mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-30 07:32:39 +01:00
f1f59cf086
Also aligned mfa method delete route to align with others.
37 lines
1.3 KiB
PHP
37 lines
1.3 KiB
PHP
@extends('simple-layout')
|
|
|
|
@section('body')
|
|
|
|
<div class="container very-small py-xl">
|
|
<div class="card content-wrap auto-height">
|
|
<h1 class="list-heading">{{ trans('auth.mfa_gen_backup_codes_title') }}</h1>
|
|
<p>{{ trans('auth.mfa_gen_backup_codes_desc') }}</p>
|
|
|
|
<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">
|
|
<a href="{{ $downloadUrl }}" download="backup-codes.txt" class="button outline small">{{ trans('auth.mfa_gen_backup_codes_download') }}</a>
|
|
</p>
|
|
|
|
<p class="callout warning">
|
|
{{ trans('auth.mfa_gen_backup_codes_usage_warning') }}
|
|
</p>
|
|
|
|
<form action="{{ url('/mfa/backup_codes/confirm') }}" method="POST">
|
|
{{ csrf_field() }}
|
|
<div class="mt-s text-right">
|
|
<a href="{{ url('/mfa/setup') }}" class="button outline">{{ trans('common.cancel') }}</a>
|
|
<button class="button">{{ trans('auth.mfa_gen_confirm_and_enable') }}</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
@stop
|