Révision 7547bb19
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/modules/ldap/ldap_servers/ldap_servers.settings.inc | ||
---|---|---|
20 | 20 |
|
21 | 21 |
$form['#title'] = "Configure LDAP Preferences"; |
22 | 22 |
$form['ssl'] = array('#type' => 'fieldset', '#title' => t('Require HTTPS on Credential Pages')); |
23 |
$form['ssl']['ldap_servers_require_ssl_for_credentails'] = array(
|
|
23 |
$form['ssl']['ldap_servers_require_ssl_for_credentials'] = array(
|
|
24 | 24 |
'#type' => 'checkbox', |
25 | 25 |
'#title' => t('If checked, modules using LDAP will not allow credentials to |
26 | 26 |
be entered on or submitted to HTTP pages, only HTTPS. This option should be used with an |
27 | 27 |
approach to get all logon forms to be https, such as:') . |
28 | 28 |
theme('item_list', array('items' => $https_approaches)), |
29 |
'#default_value' => variable_get('ldap_servers_require_ssl_for_credentails', 0),
|
|
29 |
'#default_value' => variable_get('ldap_servers_require_ssl_for_credentials', 0),
|
|
30 | 30 |
); |
31 | 31 |
|
32 | 32 |
$options = ldap_servers_encrypt_types('encrypt'); |
Formats disponibles : Unified diff
Weekly update of contrib modules