@extends('layouts/default') {{-- Page title --}} @section('title') Update Security Settings @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content') {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} {{csrf_field()}}

Security

{{ Form::label('two_factor_enabled', trans('admin/settings/general.two_factor_enabled_text')) }}
{!! Form::two_factor_options('two_factor_enabled', Input::old('two_factor_enabled', $setting->two_factor_enabled), 'select2') !!}

{{ trans('admin/settings/general.two_factor_enabled_warning') }}

@if (config('app.lock_passwords'))

{{ trans('general.feature_disabled') }}

@endif {!! $errors->first('two_factor_enabled', ':message') !!}
{{ Form::label('pwd_secure_min', trans('admin/settings/general.pwd_secure_min')) }}
{{ Form::text('pwd_secure_min', Input::old('pwd_secure_min', $setting->pwd_secure_min), array('class' => 'form-control', 'style'=>'width: 50px;')) }} {!! $errors->first('pwd_secure_min', ':message') !!}

{{ trans('admin/settings/general.pwd_secure_min_help') }}

{{ Form::label('pwd_secure_text', trans('admin/settings/general.pwd_secure_uncommon')) }}
{{ Form::checkbox('pwd_secure_uncommon', '1', Input::old('pwd_secure_uncommon', $setting->pwd_secure_uncommon),array('class' => 'minimal')) }} {{ Form::label('pwd_secure_uncommon', trans('general.yes')) }} {!! $errors->first('pwd_secure_uncommon', ':message') !!}

{{ trans('admin/settings/general.pwd_secure_uncommon_help') }}

{{ Form::label('pwd_secure_complexity', trans('admin/settings/general.pwd_secure_complexity')) }}
{{ Form::checkbox("pwd_secure_complexity['letters']", 'letters', Input::old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'letters')!==false), array('class' => 'minimal')) }} Require at least one letter
{{ Form::checkbox("pwd_secure_complexity['numbers']", 'numbers', Input::old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'numbers')!==false), array('class' => 'minimal')) }} Require at least one number
{{ Form::checkbox("pwd_secure_complexity['symbols']", 'symbols', Input::old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'symbols')!==false), array('class' => 'minimal')) }} Require at least one symbol
{{ Form::checkbox("pwd_secure_complexity['case_diff']", 'case_diff', Input::old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'case_diff')!==false), array('class' => 'minimal')) }} Require at least one uppercase and one lowercase

{{ trans('admin/settings/general.pwd_secure_complexity_help') }}

{{Form::close()}} @stop