mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Website: Update lead source on contact records (#20383)
Changes: - Updated signup.js to add the "Website - Sign up" lead source to new contact records.
This commit is contained in:
parent
32176ef286
commit
673368332b
1 changed files with 1 additions and 0 deletions
1
website/api/controllers/entrance/signup.js
vendored
1
website/api/controllers/entrance/signup.js
vendored
|
|
@ -144,6 +144,7 @@ the account verification message.)`,
|
|||
firstName: firstName,
|
||||
lastName: lastName,
|
||||
organization: organization,
|
||||
leadSource: 'Website - Sign up'
|
||||
}).exec((err)=>{
|
||||
if(err){
|
||||
sails.log.warn(`Background task failed: When a user (email: ${newEmailAddress} signed up for a fleetdm.com account, a Contact and Account record could not be created/updated in the CRM.`, err);
|
||||
|
|
|
|||
Loading…
Reference in a new issue