Scroll
Programmatically create a user
Forums
Hello, Ivan!
I am reading your website and watching video tutorials with great benefit to myself. I decided to reach out to you for consultation. I am programmatically creating a user on the drupal 7 site and immediately logging in. All information appears correctly in the user database. It is clear that the user has been created and logged in. BUT! The transition to the next page, where it says My Account, does not happen. The login form does not disappear. If I log in with the newly created credentials using the standard form, everything works. I tried to create a jquery form similar to the standard one with its action and everything else. But this did not lead to any positive results.
What am I doing wrong? Perhaps you could advise me?