fix: debug output

This commit is contained in:
2023-06-28 07:42:04 +02:00
parent e30d5066a2
commit 41ff7add42
+1
View File
@@ -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;