]> BookStack Code Mirror - bookstack/blob - resources/views/mfa/verify.blade.php
58c0c42de2d07ab82e383fa5a3137332ccd7dc6a
[bookstack] / resources / views / mfa / verify.blade.php
1 @extends('simple-layout')
2
3 @section('body')
4     <div class="container very-small py-xl">
5
6         <div class="card content-wrap auto-height">
7             <h1 class="list-heading">Verify Access</h1>
8             <p class="mb-none">
9                 Your user account requires you to confirm your identity via an additional level
10                 of verification before you're granted access.
11                 Verify using one of your configured methods to continue.
12             </p>
13
14             @if(!$method)
15                 <hr class="my-l">
16                 <h5>No Methods Configured</h5>
17                 <p class="small">
18                     No multi-factor authentication methods could be found for your account.
19                     You'll need to set up at least one method before you gain access.
20                 </p>
21                 <div>
22                     <a href="{{ url('/mfa/verify/totp') }}" class="button outline">Configure</a>
23                 </div>
24             @endif
25
26             <div class="setting-list">
27                 <div class="grid half gap-xl">
28                     <div>
29                         <div class="setting-list-label">METHOD A</div>
30                         <p class="small">
31                             ...
32                         </p>
33                     </div>
34                     <div class="pt-m">
35                             <a href="{{ url('/mfa/verify/totp') }}" class="button outline">BUTTON</a>
36                     </div>
37                 </div>
38
39             </div>
40
41             @if(count($otherMethods) > 0)
42                 <hr class="my-l">
43                 @foreach($otherMethods as $otherMethod)
44                     <a href="{{ url("/mfa/verify?method={$otherMethod}") }}">Use {{$otherMethod}}</a>
45                 @endforeach
46             @endif
47
48         </div>
49     </div>
50 @stop