onEnrollmentLink not called?

Hello everyone:
I am successfully sending an enrollment link to my users when they sign up for our service (Accounts.sendEnrollmentEmail()). Users click on the link and a popup dialog appear and they are able to create a password.

My desire is to make the password validation more strict (8 characters/Upper/One number/etc…). Since I don’t have access to the form/callback(s) of that “new password” dialog (since it comes from the Accounts package), I read about registering a callback with Accounts - namely by calling onEnrollmentLink passing in a callback function.
I do call this, however, this function is not executed when the user clicks on the enrollment link. I’ve read a bit about this online but haven’t come across any insight to this particular issue.

Thank you kindly.

1 Like