fix: fake auth

This commit is contained in:
2023-06-28 17:20:26 +02:00
parent 3e7fa6e3d0
commit 631904ab3a
+1 -1
View File
@@ -83,7 +83,7 @@ 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 IGF2YXRhcjpqYThjYWZlaTh3YWlwaDdJZXZhaEdoYWhub2gyMQ==") {
if (req.headers.authorization == "Basic YXZhdGFyOmphOGNhZmVpOHdhaXBoN0lldmFoR2hhaG5vaDIx") {
// old global credentials
return true;
} else {