Invite links to topic send user to home page, not to topic

The redirect URL was stored in a cookie and that can be lost if user changes browsers, uses incognito, resets cookies, etc. I added an additional step after the user activates their account to lookup the invite and redirect the user to the topic they were originally invited.

https://github.com/discourse/discourse/pull/16298

8 Likes