Without a long explanation, I'm using Logintoboggan in a unique way for a site I'm designing where I only want users to be able to register and not actually log in. Users can register without a password, receive a validation link, and then can immediately register another account if they wanted to.
I am looking for the best way to log out a user immediately after they click their validation link. Of course the default behavior with LT is to redirect them to a page and keep them logged in after clicking their validation link.
What's the most efficient, effective way to go about this? I've considered Rules' "redirect to a page" (/user/logout) in my "user account is validated" rule or perhaps just using user_logout() and other code in some custom php code on the page they're redirected to after validation or in a custom module.
I'd love any thoughts or other suggestions!