mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-16 08:02:40 +01:00
32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
|
@extends('header')
|
||
|
|
||
|
@section('content')
|
||
|
@parent
|
||
|
|
||
|
|
||
|
@if (Utils::isAdmin())
|
||
|
@include('accounts.nav', ['selected' => ACCOUNT_USER_DETAILS])
|
||
|
@endif
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-md-12">
|
||
|
<div class="panel panel-default">
|
||
|
<div class="panel-heading">
|
||
|
<h3 class="panel-title">{!! trans('texts.two_factor_setup') !!}</h3>
|
||
|
</div>
|
||
|
<div class="panel-body form-padding-right">
|
||
|
<div class="text-center">
|
||
|
<img src="{{ $qrCode }}" alt="">
|
||
|
<p>{!! trans('texts.two_factor_setup_help', ['code' => $secret, 'link' => link_to('https://github.com/antonioribeiro/google2fa#google-authenticator-apps', 'Google Authenticator', ['target' => '_blank'])]) !!}</p>
|
||
|
</div>
|
||
|
<p> </p>
|
||
|
<center>
|
||
|
{!! Button::normal(trans('texts.return_to_settings'))->large()->asLinkTo(url('settings/user_details')) !!}
|
||
|
</center>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
@stop
|