@extends('header') @section('content') @parent @if (Utils::isAdmin()) @include('accounts.nav', ['selected' => ACCOUNT_USER_DETAILS]) @endif {!! Former::open()->rules(['one_time_password' => 'required']) !!}

{!! trans('texts.two_factor_setup') !!}

{{ $secret }}


{!! trans('texts.two_factor_setup_help', ['link' => link_to('https://github.com/antonioribeiro/google2fa#google-authenticator-apps', 'Google Authenticator', ['target' => '_blank'])]) !!}

{!! Former::text('one_time_password') ->placeholder('one_time_password') ->data_lpignore('true') ->style('width:300px;font-size:18px') ->raw() !!}

 

{!! Button::normal(trans('texts.cancel'))->large()->asLinkTo(url('settings/user_details'))->appendIcon(Icon::create('remove-circle')) !!} {!! Button::success(trans('texts.enable'))->large()->submit()->appendIcon(Icon::create('lock')) !!}
{!! Former::close() !!} @stop