mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
ignore password
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user