Problem:
The user is user a form to register new users, he would like to automatically login the user after registration.
Solution:
This will need custom code to be implemented. It will need to log in the user WITHOUT a password. Check this thread it explains how to use wp_clear_auth_cookie, wp_set_current_user , and wp_set_auth_cookie to login the user without password.
Check the user's custom code here https://toolset.com/forums/topic/autologin-after-registration-with-autogenarate-password/#post-1960459
Relevant Documentation:
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - | - | 9:00 – 13:00 |
14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - | - | 14:00 – 18:00 |
Supporter timezone: Africa/Casablanca (GMT+01:00)
This topic contains 2 replies, has 2 voices.
Last updated by 3 years, 9 months ago.
Assisted by: Jamal.