Separate ldap and mock auth endpoints for potentially increased loadbalancer friendliness.

This commit is contained in:
Simo Kinnunen
2014-07-14 16:07:42 +09:00
parent 8a4f424d75
commit 7da3c91289
4 changed files with 4 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ module.exports = function(options) {
res.render('index')
})
app.post('/api/v1/auth', function(req, res) {
app.post('/api/v1/auth/mock', function(req, res) {
var log = logger.createLogger('auth-mock')
log.setLocalIdentifier(req.ip)
switch (req.accepts(['json'])) {