Skip to content
Snippets Groups Projects
Commit 14f15a0c authored by Prasad's avatar Prasad
Browse files

Merge branch '159273596' into 'master'

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

See merge request vtiger/vtigercrm!1177
parents 2a1d867d 733ecf40
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