Révision 4f315dab
Ajouté par Assos Assos il y a environ 8 ans
drupal7/sites/all/modules/cas/cas.admin.inc | ||
---|---|---|
47 | 47 |
$form['server']['cas_version'] = array( |
48 | 48 |
'#type' => 'radios', |
49 | 49 |
'#title' => t('Version'), |
50 |
'#default_value' => variable_get('cas_version', '2.0'),
|
|
50 |
'#default_value' => variable_get('cas_version', '3.0'),
|
|
51 | 51 |
'#options' => array( |
52 | 52 |
'1.0' => '1.0', |
53 |
'2.0' => t('2.0 or higher'), |
|
53 |
'2.0' => t('2.0'), |
|
54 |
'3.0' => t('3.0 or higher (requires phpCAS >= 1.3.3)'), |
|
54 | 55 |
'S1' => t('SAML Version 1.1'), |
55 | 56 |
), |
56 | 57 |
); |
... | ... | |
105 | 106 |
'#options' => array( |
106 | 107 |
CAS_NO_LINK => t('Do not add link to login forms'), |
107 | 108 |
CAS_ADD_LINK => t('Add link to login forms'), |
108 |
CAS_MAKE_DEFAULT => t('Make CAS login default on login forms')), |
|
109 |
CAS_MAKE_DEFAULT => t('Make CAS login default on login forms'), |
|
110 |
CAS_REDIRECT => t('Redirect the login form to CAS'), |
|
111 |
), |
|
109 | 112 |
); |
110 | 113 |
|
111 | 114 |
$form['login']['cas_login_invite'] = array( |
... | ... | |
129 | 132 |
'#description' => t('Message users see at the top of the CAS login form to warn them that they are being redirected to the CAS server.'), |
130 | 133 |
); |
131 | 134 |
|
132 |
// Setting for message displayed to user upon successfull login
|
|
135 |
// Setting for message displayed to user upon successful login |
|
133 | 136 |
$form['login']['cas_login_message'] = array( |
134 | 137 |
'#type' => 'textfield', |
135 | 138 |
'#title' => t('Successful login message'), |
Formats disponibles : Unified diff
Weekly update of contrib modules