updated FormBuilder class to prevent passwords from being filled by flash data

This commit is contained in:
Shawn McCool committed 2013-06-09 22:09:26 +02:00
1 parent 2b1764d5ad
commit 052dbc46be
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}