I have a page 'sign-up' which has a user form to create a new user. When filled in and submitted previously the newly created user has been logged in and redirected to the page 'who-needs-a-will'
The problem is that the automatic logging in of the new user has stopped happening so now although the user form creates the new user, it doesn't log them in..
I can't remember how I first achieved this and now can't work out how to recover it..
Hello. Thank you for contacting the Toolset support.
I'm not sure what Toolset plugin version you are using currently? Can you please make sure that you are using latest Toolset plugins. If Yes:
I need a problem URL where you added your user form as well as access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
When I try to access this page: hidden link
- It ask me for password, this page is password protected.
I checked with your theme's functions.php file and I do not see any code added that should be responsible for auto login. Where did you add such code that leads to user auto-login?
Do you mean that, once new user registered, you want to redirect to specific page with user should be auto-logggedin? If yes - to which page you want the user should be redirected?
On the user register form that you're working on, as well as logging the user in I also need to add some validation to make sure the user includes their first and last name.. The email seems to be required by default...
Also I need to add validation to the password so that it is at least 8 characters long and uses both letters and numbers...is this possible?
I shall look forward to hearing back from you
Thanks as always for all of your help and support
Best regards
Geoff
New threads created by Minesh and linked to this one are listed below:
I checked the ticket history you reported and I do not able to find any ticket that is related to the auto-login user after submitting and registering the new user using the user form.
Have you added any related custom code anywhere to your site as I checked the functions.php file and I do not find any related code? If no: just to double check with you, that once user successfully registered, you want that user should be auto-loggedin and redirected to this page: hidden link - correct?