2021-08-08 15:24:44 +02:00
|
|
|
<div class="setting-list-label">{{ trans('auth.mfa_verify_backup_code') }}</div>
|
2021-08-02 17:35:37 +02:00
|
|
|
|
2021-08-08 15:24:44 +02:00
|
|
|
<p class="small mb-m">{{ trans('auth.mfa_verify_backup_code_desc') }}</p>
|
2021-08-02 17:35:37 +02:00
|
|
|
|
2021-08-02 23:02:25 +02:00
|
|
|
<form action="{{ url('/mfa/backup_codes/verify') }}" method="post">
|
2021-08-02 17:35:37 +02:00
|
|
|
{{ csrf_field() }}
|
|
|
|
<input type="text"
|
|
|
|
name="code"
|
2021-08-08 15:24:44 +02:00
|
|
|
placeholder="{{ trans('auth.mfa_verify_backup_code_enter_here') }}"
|
2021-08-02 17:35:37 +02:00
|
|
|
class="input-fill-width {{ $errors->has('code') ? 'neg' : '' }}">
|
|
|
|
@if($errors->has('code'))
|
|
|
|
<div class="text-neg text-small px-xs">{{ $errors->first('code') }}</div>
|
|
|
|
@endif
|
|
|
|
<div class="mt-s text-right">
|
|
|
|
<button class="button">{{ trans('common.confirm') }}</button>
|
|
|
|
</div>
|
|
|
|
</form>
|