-@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