Added clarity in language as to what the activated flag does on LDAP screens

This commit is contained in:
snipe 2020-11-13 11:52:34 -08:00
parent 10cadecd14
commit 0c0de5e351
2 changed files with 4 additions and 0 deletions

View file

@ -83,6 +83,7 @@ return array(
'ldap_auth_filter_query' => 'LDAP Authentication query', 'ldap_auth_filter_query' => 'LDAP Authentication query',
'ldap_version' => 'LDAP Version', 'ldap_version' => 'LDAP Version',
'ldap_active_flag' => 'LDAP Active Flag', 'ldap_active_flag' => 'LDAP Active Flag',
'ldap_activated_flag_help' => 'This flag is used to determine whether a user can login to Snipe-IT and does not affect the ability to check items in or out to them.',
'ldap_emp_num' => 'LDAP Employee Number', 'ldap_emp_num' => 'LDAP Employee Number',
'ldap_email' => 'LDAP Email', 'ldap_email' => 'LDAP Email',
'license' => 'Software License', 'license' => 'Software License',

View file

@ -317,6 +317,9 @@
</div> </div>
<div class="col-md-9"> <div class="col-md-9">
{{ Form::text('ldap_active_flag', Request::old('ldap_active_flag', $setting->ldap_active_flag), ['class' => 'form-control','placeholder' => '', $setting->demoMode]) }} {{ Form::text('ldap_active_flag', Request::old('ldap_active_flag', $setting->ldap_active_flag), ['class' => 'form-control','placeholder' => '', $setting->demoMode]) }}
<p class="help-block">{{ trans('admin/settings/general.ldap_activated_flag_help') }}</p>
{!! $errors->first('ldap_active_flag', '<span class="alert-msg" aria-hidden="true">:message</span>') !!} {!! $errors->first('ldap_active_flag', '<span class="alert-msg" aria-hidden="true">:message</span>') !!}
@if (config('app.lock_passwords')===true) @if (config('app.lock_passwords')===true)
<p class="text-warning"><i class="fa fa-lock" aria-hidden="true"></i> {{ trans('general.feature_disabled') }}</p> <p class="text-warning"><i class="fa fa-lock" aria-hidden="true"></i> {{ trans('general.feature_disabled') }}</p>