summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2011-01-29 10:08:45 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2011-01-29 10:08:45 +0000
commitd654ff6ddec48348dcf2ce056d6de2f0995e2e5e (patch)
tree23aea2b1252af8c662cf57a1fd4669655eb7abd4 /includes
parentd21d6401130b3e2e5e5418ccc82fb765d84f7ffb (diff)
downloadbrdo-d654ff6ddec48348dcf2ce056d6de2f0995e2e5e.tar.gz
brdo-d654ff6ddec48348dcf2ce056d6de2f0995e2e5e.tar.bz2
#690980 by Dave Reid, grendzy, cwgordon7: Security hardening: Ensure password fields are empty on display.
Diffstat (limited to 'includes')
-rw-r--r--includes/form.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc
index 7f8cbc64b..d19c82ada 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -3724,7 +3724,7 @@ function theme_textarea($variables) {
function theme_password($variables) {
$element = $variables['element'];
$element['#attributes']['type'] = 'password';
- element_set_attributes($element, array('id', 'name', 'value', 'size', 'maxlength'));
+ element_set_attributes($element, array('id', 'name', 'size', 'maxlength'));
_form_set_class($element, array('form-text'));
return '<input' . drupal_attributes($element['#attributes']) . ' />';