remove authentification try console log
This commit is contained in:
@@ -22,7 +22,6 @@ router.post(
|
|||||||
//Huge mess to retrieve server id from expressBasicAuth. We probably should fix it.
|
//Huge mess to retrieve server id from expressBasicAuth. We probably should fix it.
|
||||||
(req, res, next) => {
|
(req, res, next) => {
|
||||||
if (!req) res.sendStatus(500)
|
if (!req) res.sendStatus(500)
|
||||||
console.log('authentification try with', req.headers['authorization'])
|
|
||||||
return expressBasicAuth({
|
return expressBasicAuth({
|
||||||
authorizeAsync: true,
|
authorizeAsync: true,
|
||||||
authorizer: CheckServerToken.bind(req),
|
authorizer: CheckServerToken.bind(req),
|
||||||
|
|||||||
Reference in New Issue
Block a user