Commit 394dca7e by Johannes Zellner

use test credentials

1 parent 813646f1
Showing with 2 additions and 2 deletions
...@@ -24,8 +24,8 @@ if (LDAP_URL && LDAP_USERS_BASE_DN) { ...@@ -24,8 +24,8 @@ if (LDAP_URL && LDAP_USERS_BASE_DN) {
exports.ldap = function (req, res, next) { exports.ldap = function (req, res, next) {
console.log('Disable ldap auth, use developer credentials!'); console.log('Disable ldap auth, use developer credentials!');
if (req.query.username !== 'username') return res.send(401); if (req.query.username !== 'test') return res.send(401);
if (req.query.password !== 'password') return res.send(401); if (req.query.password !== 'test') return res.send(401);
next(); next();
}; };
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!