ignore password

This commit is contained in:
Yurii
2026-03-10 20:32:33 +02:00
parent d3f03949a1
commit 9ca71c91bf

View File

@@ -134,7 +134,15 @@ class EntityDuplicator
{
$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;
}