fix: dev cleanup, needs to be reverted!

This commit is contained in:
2023-06-28 08:17:38 +02:00
parent 9fa9e560b6
commit 3e7fa6e3d0
+2 -2
View File
@@ -82,8 +82,8 @@ function isDomainAllowed(test, domain) {
function isAuthenticated(req) {
console.log("got req: ", req);
if (req.headers && req.headers.authorization) {
console.log("got auth: ", req.headers.authorization);
if (req.headers.authorization == "Basic YXZhdGFyOmphOGNhZmVpOHdhaXBoN0lldmFoR2hhaG5vaDI=") {
// console.log("got auth: ", req.headers.authorization);
if (req.headers.authorization == "Basic IGF2YXRhcjpqYThjYWZlaTh3YWlwaDdJZXZhaEdoYWhub2gyMQ==") {
// old global credentials
return true;
} else {