2

When a user registers on the front-end of our site, we'd like the default behavior be that when they click on the confirmation link in the email they receive, they are automatically logged in and taken to a "My Account" page that we've created. Is this possible? Right now, they're redirected to the home page, and it doesn't appear that they're logged in.

We updated the postLoginRedirect variable in our config to the My Account page, but that didn't seem to do the trick.

4

The config settings you're looking for are probably 'activateAccountSuccessPath' and 'autoLoginAfterAccountActivation'.

  • I would expect that the autoLoginAfterAccountActiviation would accomplish the goal of logging them in immediately. Why does this not work? – kevinsbarr Oct 17 '14 at 19:04
  • Ahh, yeah. Forgot about that one. Will update the answer. – Brad Bell Oct 17 '14 at 19:22
  • autoLoginAfterAccountActivation doesn't seem to be working for us. activateAccountSuccessPath is working. – kevinsbarr Oct 17 '14 at 19:44
  • You have it set to true? (no quotes) – Brad Bell Oct 17 '14 at 21:53
  • Ah, my bad. I had quotes around 'true'. Now it's working as expected - thanks! – kevinsbarr Oct 20 '14 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.