@rod It's nothing special, it's just a habit that I have trained myself into.
If there's even a chance the parent object is not defined, I make a check for it first (though app is always defined in NodeBB, so I skip that).
The proper way to write it would be: if (app.hasOwnProperty('user')), but even sometimes that can be tripped up if app.user is a property, but undefined
@pitaj said in Can unregistered users can create topics?:
In ACP > Manage > Privileges, select the category you want to allow guests to post in, and give guests the "Create Topics" and "Reply to Topics" privileges.
I know this was asked so much times on the forum, but I've actually a problem since I use the NodeJS build from Openshift. I saw everywhere that I had to change the nginx configuration file, but I don't how to achieve that with my current configuration.
I tried to install nginx, but it failed to resolve the issue.
So, I was thinking that someone found a fix or a way to edit nginx configuration with Openshift.
Thank you for your attention,