summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/user.module2
-rw-r--r--modules/user/user.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user.module b/modules/user.module
index 26e087f19..d9c5caa53 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -883,7 +883,7 @@ function user_login($msg = '') {
'#required' => TRUE,
'#attributes' => array('tabindex' => '1'),
);
- if (count(user_auth_help_links()) > 0) {
+ if (variable_get('drupal_authentication_service', FALSE) && count(user_auth_help_links()) > 0) {
$form['name']['#description'] = t('Enter your %s username, or an ID from one of our affiliates: %a.', array('%s' => variable_get('site_name', 'local'), '%a' => implode(', ', user_auth_help_links())));
}
else {
diff --git a/modules/user/user.module b/modules/user/user.module
index 26e087f19..d9c5caa53 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -883,7 +883,7 @@ function user_login($msg = '') {
'#required' => TRUE,
'#attributes' => array('tabindex' => '1'),
);
- if (count(user_auth_help_links()) > 0) {
+ if (variable_get('drupal_authentication_service', FALSE) && count(user_auth_help_links()) > 0) {
$form['name']['#description'] = t('Enter your %s username, or an ID from one of our affiliates: %a.', array('%s' => variable_get('site_name', 'local'), '%a' => implode(', ', user_auth_help_links())));
}
else {