aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/auth.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth.js')
-rw-r--r--src/auth.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth.js b/src/auth.js
index c003d2a..6117dc9 100644
--- a/src/auth.js
+++ b/src/auth.js
@@ -24,8 +24,8 @@ if (LDAP_URL && LDAP_USERS_BASE_DN) {
24 exports.ldap = function (req, res, next) { 24 exports.ldap = function (req, res, next) {
25 console.log('Disable ldap auth, use developer credentials!'); 25 console.log('Disable ldap auth, use developer credentials!');
26 26
27 if (req.query.username !== 'username') return res.send(401); 27 if (req.query.username !== 'test') return res.send(401);
28 if (req.query.password !== 'password') return res.send(401); 28 if (req.query.password !== 'test') return res.send(401);
29 29
30 next(); 30 next();
31 }; 31 };