]> BookStack Code Mirror - bookstack/blob - resources/views/mfa/parts/verify-totp.blade.php
added routes for zip export
[bookstack] / resources / views / mfa / parts / verify-totp.blade.php
1 <div class="setting-list-label">{{ trans('auth.mfa_option_totp_title') }}</div>
2
3 <p class="small mb-m">{{ trans('auth.mfa_verify_totp_desc') }}</p>
4
5 <form action="{{ url('/mfa/totp/verify') }}" method="post" autocomplete="off">
6     {{ csrf_field() }}
7     <input type="text"
8            name="code"
9            autocomplete="one-time-code"
10            autofocus
11            placeholder="{{ trans('auth.mfa_gen_totp_provide_code_here') }}"
12            class="input-fill-width {{ $errors->has('code') ? 'neg' : '' }}">
13     @if($errors->has('code'))
14         <div class="text-neg text-small px-xs">{{ $errors->first('code') }}</div>
15     @endif
16     <div class="mt-s text-right">
17         <button class="button">{{ trans('common.confirm') }}</button>
18     </div>
19 </form>