Forums

Auto login user after email activation

Dmayak 30 Apr, 2014
I have created a replacement of joomla registration form, on submit it sends an email with a custom activation link, pointing to the another event of this form, which holds user activation. Users component is configured for user to be activated after email confirmation. Activation works fine, but on success I want to automatically log user in, but Joomla Login action do not receive values of registration form, submitted earlier. Can I somehow transfer this data between events of its only possible through the custom code?
Max_admin 30 Apr, 2014
Answer
Hi Dmayak,

No, that's not possible, you can auto login the user earlier after registration, with no activation, or they will have to login them selves later.

You may however store the data in session, and if the user click the activation link soon enough then the data should be still available for usage!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.