fix: fake auth
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user