I have a frontend user account registration form and I d like to auto login the user automatically after the account creation.

So the user can choose a subscription plan and pay immediately after, without having to enter his login and password a second time.

I added the parameter 'autoLoginAfterAccountActivation' but it does not work.

Any idea ?


Oh my god I lost half the day on a syntax error !!

My general.php file had the line with true in quotes :

'autoLoginAfterAccountActivation' => 'true',

The correct line to have the parameter work is:

'autoLoginAfterAccountActivation' => true,

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.