I bring this issue up here because I have needed this to work on two different sites in the last week and have been unable to get it to work. I am using the following code to log in a user after registration, but no matter how much tinkering I do, it just does not log the user in! Any ideas what I’m doing wrong here?
Hi Joe. Add-on feed processing has been moved to the background by default to improve form submission performance. This means the feeds are processed in a separate request where the user isn’t present.
Auto-login isn’t compatible with background feed processing because the current user object and auth cookie are set in the request where the user isn’t present.