fix: add header for NC unauthed

This commit is contained in:
2025-10-01 15:29:35 +02:00
parent fcc2a9a003
commit c68a482c29
+1 -1
View File
@@ -664,7 +664,7 @@ app.get('/login2fa', async function (req, res) {
}
} else {
console.log(moment().format("LTS") + ' no auth header');
res.status(401).json(null);
res.set({"WWW-Authenticate": "Basic vnclagoon"}).status(401).json(null);
}
});