@lang('Two-Factor Authentication')
@lang('Enable/Disable Two-Factor Authentication for the application.') @if (! config('services.authy.key'))
@lang('In order to enable Two-Factor Authentication you have to register and create new application on') @lang('Authy website'), @lang('and update your') AUTHY_KEY @lang('environment variable inside') .env @lang('file').
@else @if (setting('2fa.enabled')) {!! Form::open(['route' => 'settings.auth.2fa.disable', 'id' => 'auth-2fa-settings-form']) !!} {!! Form::close() !!} @else {!! Form::open(['route' => 'settings.auth.2fa.enable', 'id' => 'auth-2fa-settings-form']) !!} {!! Form::close() !!} @endif @endif