From cbe39102c3b6daa2a4db5d08f876125064b3d71a Mon Sep 17 00:00:00 2001 From: NGPixel Date: Mon, 11 Sep 2017 21:52:10 -0400 Subject: [PATCH] fix: login ldap detection --- server/controllers/auth.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/controllers/auth.js b/server/controllers/auth.js index 317938a3..cb320ddc 100644 --- a/server/controllers/auth.js +++ b/server/controllers/auth.js @@ -1,5 +1,3 @@ -'use strict' - /* global wiki */ const Promise = require('bluebird') @@ -8,6 +6,7 @@ const router = express.Router() const ExpressBrute = require('express-brute') const ExpressBruteRedisStore = require('express-brute-redis') const moment = require('moment') +const _ = require('lodash') /** * Setup Express-Brute