+
@if (config('app.lock_passwords'))
-
- {{ Form::checkbox('two_factor_optin', '1', Request::old('two_factor_optin', $user->two_factor_optin),['class' => 'minimal', 'disabled'=>'disabled']) }} {{ trans('admin/settings/general.two_factor_enabled_text') }}
-
{{ trans('general.feature_disabled') }}
-
+
+
+
@else
- {{ Form::checkbox('two_factor_optin', '1', Request::old('two_factor_optin', $user->two_factor_optin),['class' => 'minimal']) }} {{ trans('admin/settings/general.two_factor_enabled_text') }}
+
+
{{ trans('admin/users/general.two_factor_admin_optin_help') }}
@endif