]> BookStack Code Mirror - bookstack/blobdiff - resources/views/mfa/setup.blade.php
Guest create page: name field autofocus
[bookstack] / resources / views / mfa / setup.blade.php
index 25eb5d925deaf95dbd972219a72de6707b836e72..702f007b7186ce07ed204603a0aed2bbf78a74c3 100644 (file)
@@ -1,16 +1,18 @@
-@extends('simple-layout')
+@extends('layouts.simple')
 
 @section('body')
     <div class="container small py-xl">
 
         <div class="card content-wrap auto-height">
-            <h1 class="list-heading">Setup Multi-Factor Authentication</h1>
-            <p>
-                Setup multi-factor authentication as an extra layer of security
-                for your user account.
-                To use multi-factor authentication you'll need a mobile application
-                that supports TOTP such as Google Authenticator, Authy or Microsoft Authenticator.
-            </p>
+            <h1 class="list-heading">{{ trans('auth.mfa_setup') }}</h1>
+            <p class="mb-none"> {{ trans('auth.mfa_setup_desc') }}</p>
+
+            <div class="setting-list">
+                @foreach(['totp', 'backup_codes'] as $method)
+                    @include('mfa.parts.setup-method-row', ['method' => $method])
+                @endforeach
+            </div>
+
         </div>
     </div>
 @stop