Save password option disabled if Fallback is enabled

Former-commit-id: 5ed747ab6e22478a46102104095f5d2d1ba32deb
This commit is contained in:
samucarc 2019-01-21 18:11:12 +01:00
parent f8ac525281
commit 91f547b6f4
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ if (is_ajax ()) {
// Fallback to local authentication
$row = array();
$row['name'] = __('Fallback to local authentication')
. ui_print_help_tip(__("Enable this option if you want to fallback to local authentication when remote (ldap etc...) authentication failed."), true);
. ui_print_help_tip(__("Enable this option if you want to fallback to local authentication when remote (ldap etc...) authentication failed. Only available when 'Save password' is enabled."), true);
$row['control'] = __('Yes').' '.html_print_radio_button('fallback_local_auth', 1, '', $config['fallback_local_auth'], true).'  ';
$row['control'] .= __('No').' '.html_print_radio_button('fallback_local_auth', 0, '', $config['fallback_local_auth'], true);
$table->data['fallback_local_auth'] = $row;