I have created multi-step form through custom module. I am using user_save()
function to register the user and user_mail_notify()
to send the email.
Now I am not sure what should I send in _user_mail_notify()
so email verification link will work.
I have account settings in the backend as shown in screenshot
and sending op value as 'register_no_approval_required' in _user_mail_notify()
function. I am receiving verification email in inbox but when I click it then it doesn't work.
However it works when we register through default registration form. Please let me know if anything I am missing to add.