[IMP] website_crm_score: use private db uuid to hash lead_id in cookies
This commit is contained in:
@@ -51,7 +51,7 @@ class Lead(models.Model):
|
||||
return None
|
||||
|
||||
def get_key(self):
|
||||
return self.pool['ir.config_parameter'].get_param(request.cr, SUPERUSER_ID, 'database.uuid')
|
||||
return self.pool['ir.config_parameter'].get_param(request.cr, SUPERUSER_ID, 'database.uuid.private')
|
||||
|
||||
def get_score_domain_cookies(self):
|
||||
return request.httprequest.host
|
||||
|
||||
Reference in New Issue
Block a user