fix: add header for NC unauthed
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user