Create a new end user and send them an email confirmation, upon confirmation set confirmed to ON

I want to send an email confirmation when a new end user is created and upon confirming the email. Confirmed is set to On.
Please note that i am not creating an admin user but an end user.

Where will write the logic to handle this.

2 Likes

You can create a new controller method and link your email validation link to that controller.

From documentation:

Cheers