Browse Source

fix: login ldap detection

NGPixel 7 năm trước cách đây
mục cha
commit
cbe39102c3
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      server/controllers/auth.js

+ 1 - 2
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