@pichalite said in Invalid session:
db.objects.update({_key: "config"}, {$set: {cookieDomain: ""}}
I have now deleted that field in the database, restarted NodeBB and this solved it.
Thanks @pichalite and @julian !!!
Please tell me where to add documentation about this so that others do not experience this pain. And trust me it was real pain. I cried into my cornflakes.
I would like to understand why having the cookieDomain set breaks things and how to integrate this into the updater - perhaps this could be my first contribution to the code? Surely if having this value set is going to render a forum unusable then it should either be fixed or the field should be removed in the most recent update script?
Thanks again.