Merge branch 'master' into develop

isekai-main
Barış Soner Uşaklı 2 years ago
commit 11cd32722e

@ -1,9 +1,9 @@
# Welcome to your brand new NodeBB forum! ### Welcome to your brand new NodeBB forum!
This is what a topic and post looks like. As an administrator, you can edit the post\'s title and content. This is what a topic and post looks like. As an administrator, you can edit the post\'s title and content.
To customise your forum, go to the [Administrator Control Panel](../../admin). You can modify all aspects of your forum there, including installation of third-party plugins. To customise your forum, go to the [Administrator Control Panel](../../admin). You can modify all aspects of your forum there, including installation of third-party plugins.
## Additional Resources #### Additional Resources
* [NodeBB Documentation](https://docs.nodebb.org) * [NodeBB Documentation](https://docs.nodebb.org)
* [Community Support Forum](https://community.nodebb.org) * [Community Support Forum](https://community.nodebb.org)

@ -12,7 +12,9 @@ const {
return req.headers['x-csrf-token']; return req.headers['x-csrf-token'];
} else if (req.body && req.body.csrf_token) { } else if (req.body && req.body.csrf_token) {
return req.body.csrf_token; return req.body.csrf_token;
} else if (req.query) { } else if (req.body && req.body._csrf) {
return req.body._csrf;
} else if (req.query && req.query._csrf) {
return req.query._csrf; return req.query._csrf;
} }
}, },

Loading…
Cancel
Save