]> BookStack Code Mirror - bookstack/blob - resources/views/mfa/verify/totp.blade.php
Added TOTP verification upon access
[bookstack] / resources / views / mfa / verify / totp.blade.php
1 <div class="setting-list-label">Mobile App</div>
2
3 <p class="small mb-m">
4     Enter the code, generated using your mobile app, below:
5 </p>
6
7 <form action="{{ url('/mfa/verify/totp') }}" method="post">
8     {{ csrf_field() }}
9     <input type="text"
10            name="code"
11            aria-labelledby="totp-verify-input-details"
12            placeholder="Provide your app generated code here"
13            class="input-fill-width {{ $errors->has('code') ? 'neg' : '' }}">
14     @if($errors->has('code'))
15         <div class="text-neg text-small px-xs">{{ $errors->first('code') }}</div>
16     @endif
17     <div class="mt-s text-right">
18         <button class="button">{{ trans('common.confirm') }}</button>
19     </div>
20 </form>