I am trying to setup Community Self-Registration on a Lightning Community with a modification to use an existing account and contact vs creating a new contact and using the default account. After figuring out that
CommunitiesSelfRegController is only used for classic Communities, I updated
LightningSelfRegisterController in my dev environment and ran through the self-registration process while debugging the guest access user.
LightningSelfRegisterController doesn't appear to be getting called (no debug statements in logs), even though I opened the
selfRegister Lightning Component, which is the one used on the
/Register page, and verified that
LightningSelfRegisterController is the controller declared in the
Assuming that I still may not have setup the DEBUG log correctly, I even went as far as inserting
throw new CustomException() statements in the controller method calls, but the self-registration page completely ignores it and just registers the user using the default process.
Do I need to tell Salesforce to use the customized
LightningSelfRegisterController vs the standard process in same way?