From 052dbc46be5e1d9d6c157d018acb3ab138a2a460 Mon Sep 17 00:00:00 2001 From: Shawn McCool Date: Sun, 9 Jun 2013 22:09:26 +0200 Subject: [PATCH] updated FormBuilder class to prevent passwords from being filled by flash data --- FormBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FormBuilder.php b/FormBuilder.php index c8b3743..0e5db8d 100755 --- a/FormBuilder.php +++ b/FormBuilder.php @@ -217,7 +217,7 @@ class FormBuilder { // in the model instance if one is set. Otherwise we will just use empty. $id = $this->getIdAttribute($name, $options); - if ($type != 'file') + if ($type != 'file' and $type != 'password') { $value = $this->getValueAttribute($name, $value); }