mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 04:53:28 +02:00
Separate ldap and mock auth endpoints for potentially increased loadbalancer friendliness.
This commit is contained in:
@@ -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'])) {
|
||||
|
||||
Reference in New Issue
Block a user