fix: dev cleanup, needs to be reverted!
This commit is contained in:
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user