Skip to content
Snippets Groups Projects
Commit 733ecf40 authored by root's avatar root
Browse files

Fixes: Select query on Users module is revealing all the user's Access Key and...

Fixes: Select query on Users module is revealing all the user's Access Key and Password issue is fixed
parent 41b2674a
No related branches found
No related tags found
1 merge request!1177Fixes: Select query on Users module is revealing all the user's Access Key and Password issue is fixed.
......@@ -305,6 +305,11 @@ class VtigerCRMObjectMeta extends EntityMeta {
if (strcasecmp($webserviceField->getFieldDataType(), 'file') !== 0) {
$this->fieldColumnMapping[$fieldName] = $webserviceField->getColumnName();
}
} else if($this->getEntityName() == "Users") {
$restrictedFields = array('user_password', 'confirm_password', 'accesskey');
if(!in_array($fieldName, $restrictedFields)) {
$this->fieldColumnMapping[$fieldName] = $webserviceField->getColumnName();
}
} else {
$this->fieldColumnMapping[$fieldName] = $webserviceField->getColumnName();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment