2021-08-08 21:24:44 +08:00
|
|
|
<div class="setting-list-label">{{ trans('auth.mfa_verify_backup_code') }}</div>
|
2021-08-02 23:35:37 +08:00
|
|
|
|
2021-08-08 21:24:44 +08:00
|
|
|
<p class="small mb-m">{{ trans('auth.mfa_verify_backup_code_desc') }}</p>
|
2021-08-02 23:35:37 +08:00
|
|
|
|
2021-08-03 05:02:25 +08:00
|
|
|
<form action="{{ url('/mfa/backup_codes/verify') }}" method="post">
|
2021-08-02 23:35:37 +08:00
|
|
|
{{ csrf_field() }}
|
|
|
|
<input type="text"
|
|
|
|
name="code"
|
2021-08-08 21:24:44 +08:00
|
|
|
placeholder="{{ trans('auth.mfa_verify_backup_code_enter_here') }}"
|
2021-08-02 23:35:37 +08: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>
|