@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::label('login_remote_user', trans('admin/settings/general.login_remote_user_text')) }}
@if (config('app.lock_passwords'))

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

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

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

{{ Form::label('login_remote_user_header_name', trans('admin/settings/general.login_remote_user_header_name_text')) }} {{ Form::text('login_remote_user_header_name', Input::old('login_remote_user_header_name', $setting->login_remote_user_header_name),array('class' => 'form-control')) }} {!! $errors->first('login_remote_user_header_name', ':message') !!}

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

{{ Form::label('login_remote_user_custom_logout_url', trans('admin/settings/general.login_remote_user_custom_logout_url_text')) }} {{ Form::text('login_remote_user_custom_logout_url', Input::old('login_remote_user_custom_logout_url', $setting->login_remote_user_custom_logout_url),array('class' => 'form-control')) }} {!! $errors->first('login_remote_user_custom_logout_url', ':message') !!}

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

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

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

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