fix: debug output
This commit is contained in:
@@ -81,6 +81,7 @@ function isDomainAllowed(test, domain) {
|
||||
|
||||
function isAuthenticated(req) {
|
||||
if (req.headers && req.headers.authorization) {
|
||||
console.log("got auth: ", req.headers.authorization);
|
||||
if (req.headers.authorization == "Basic YXZhdGFyOmphOGNhZmVpOHdhaXBoN0lldmFoR2hhaG5vaDI=") {
|
||||
// old global credentials
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user