mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 00:36:15 +02:00
Merge branch 'master' into develop
This commit is contained in:
@@ -27,7 +27,6 @@ middleware.buildHeaderAsync = async (req, res) => {
|
||||
|
||||
async function doBuildHeader(req, res) {
|
||||
res.locals.renderHeaderType = 'admin';
|
||||
res.locals.isAPI = false;
|
||||
if (req.method === 'GET') {
|
||||
await require('./index').applyCSRFasync(req, res);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user