updated FormBuilder class to prevent passwords from being filled by flash data
This commit is contained in:
1 parent
2b1764d5ad
commit
052dbc46be
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user