ignore password
This commit is contained in:
@@ -134,7 +134,15 @@ class EntityDuplicator
|
|||||||
{
|
{
|
||||||
$type = $fieldDefs->getType();
|
$type = $fieldDefs->getType();
|
||||||
|
|
||||||
if (in_array($type, [FieldType::AUTOINCREMENT, FieldType::NUMBER, FieldType::LINK_ONE])) {
|
if (
|
||||||
|
in_array($type, [
|
||||||
|
FieldType::AUTOINCREMENT,
|
||||||
|
FieldType::NUMBER,
|
||||||
|
FieldType::LINK_ONE,
|
||||||
|
// Additional measure. It's not fetched.
|
||||||
|
FieldType::PASSWORD,
|
||||||
|
])
|
||||||
|
) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user