summaryrefslogtreecommitdiff
path: root/modules/profile/profile.admin.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-10 07:49:49 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-10 07:49:49 +0000
commit6828096e7e647c539f0a1ee644aa2d361f9dbf80 (patch)
tree91d9fb7e4f9973b24ab4195b09226e55a98a8ba8 /modules/profile/profile.admin.inc
parent8375d77ae25dd19c5b0c3623ce97d4c541c8c518 (diff)
downloadbrdo-6828096e7e647c539f0a1ee644aa2d361f9dbf80.tar.gz
brdo-6828096e7e647c539f0a1ee644aa2d361f9dbf80.tar.bz2
#284887 by Dave Reid and dww: Disable autocomplete if user does not have access to the callback.
Diffstat (limited to 'modules/profile/profile.admin.inc')
-rw-r--r--modules/profile/profile.admin.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/profile/profile.admin.inc b/modules/profile/profile.admin.inc
index bcc3e5e77..912378852 100644
--- a/modules/profile/profile.admin.inc
+++ b/modules/profile/profile.admin.inc
@@ -269,6 +269,7 @@ Unless you know what you are doing, it is highly recommended that you prefix the
$form['fields']['autocomplete'] = array('#type' => 'checkbox',
'#title' => t('Form will auto-complete while user is typing.'),
'#default_value' => $edit['autocomplete'],
+ '#description' => t('For security, auto-complete will be disabled if the user does not have access to user profiles.'),
);
$form['fields']['required'] = array('#type' => 'checkbox',
'#title' => t('The user must enter a value.'),