Merge branch '3145-Fallback_to_local_and_save_password' into 'develop'

Save password option disabled if Fallback is enabled

See merge request artica/pandorafms!2137

Former-commit-id: 48390e003cad5f9393282907587d51ce9a92dfd8
This commit is contained in:
Alejandro Fraguas 2019-02-13 10:07:58 +01:00
commit 20d7598abb
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ if (is_ajax()) {
if ($type_auth != 'mysql') {
// Fallback to local authentication
$row = [];
$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);
$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. 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;