I expect someone has done this, just not me.
I want to change the invite external users to create the user id as there email vs. creating the user id as firstname_lastname.
I followed the code and found in alfresco\web-inf\classes\alfresco\templates\webscripts\org\alfresco\respository\site\invation\invation.post.json.js the following code
var inviteeFirstName = json.get("inviteeFirstName") ;
var inviteeLastName = json.get("inviteeLastName") ;
var inviteeEmail = json.get("inviteeEmail") ;
invitation = site.inviteNominated(inviteeFirstName, inviteeLastName, inviteeEmail, inviteeRoleName, acceptUrl, rejectUrl);
but I don't know where this code is.
I tried to set it in the frontend javascript module invationlist.js, it created the user but the email didn't happen.
anyone have a pointer for me ?