I'm at a loss. I've set up a font-end user activation workflow that looks like this:
- User registers via a front end form based on Craft's example form
- User is redirected to a page informing them that they'll be receiving an email with an activation link
- User clicks the activation link and lands on a welcome page
Right now my user registration form is working. When a user registers, I can see them added to the CP user list with their email address, firstName and lastName (which I'm also collecting from the registration form). The redirect to the "you'll be receiving an email..." page is working as well.
But when I click the activation link to test, I end up on the homepage of my site, not on the uri I've specified in my config settings which look like this:
return array(
'*' => array(
'omitScriptNameInUrls' => true,
'defaultImageQuality' => '65',
'useEmailAsUsername' => true,
'loginPath' => 'member/login',
'logoutPath' => 'member/logout',
'postLoginRedirect' => 'member/my-account',
'autoLoginAfterAccountActivation' => true,
'activateAccountFailurePath' => 'member/activation-failed',
'activateAccountSuccessPath' => 'member/activation-success',
),
other settings below...
I'm making sure that when I test sign-ups, I'm logged out in a different browser. I've also tried the sequence without autoLoginAfterAccountActivation
set to true
but in that case, I just end up logged out on the homepage of my site rather than on the activation-success
page.
The activation works, which I can verify in the CP, but I can't figure out why the site isn't respecting my config setting for activateAccountSuccessPath
.
Anyone have any ideas?
activateAccountSuccessPath
config setting back in yesterday’s update (Craft 2.3.2625).