I'm working on a site with public registration and a manual approval flow for new users. The following settings for user accounts are active: Verify email addresses, Allow public registration, Suspend users by default. The workflow currently looks like this:
- A new user uses the frontend registration form to register for an account.
- An admin manually approves the account (using the Unsuspend user action).
- The admin sends the activation email using the Send activation email action.
The problem is that since the activation email is sent from the CP, Craft appears to always use the CP-path for verification (so
/admin/verify-email instead of
verifyEmailPath config is ignored. And after clicking the verification link, the user is redirected to the CP login form instead of the frontend login form. The
verifyEmailSuccessPath config is ignored.
I guess the two options above only come into play if the verification email is sent automatically after the public registration (without manual approval). I haven't found a way to change the redirect for verification emails sent from the CP.
Is there a way to either change the path for email verification to the frontend path (
/verifyemail) or change the redirect after verifying through the backend path (