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.

1 Answer 1

4

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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