mirror of
https://github.com/requarks/wiki.git
synced 2025-02-25 18:55:28 -06:00
fix: handle multiple LDAP strategies (#5116)
This commit is contained in:
@@ -10,7 +10,7 @@ const _ = require('lodash')
|
||||
|
||||
module.exports = {
|
||||
init (passport, conf) {
|
||||
passport.use('ldap',
|
||||
passport.use(conf.key,
|
||||
new LdapStrategy({
|
||||
server: {
|
||||
url: conf.url,
|
||||
|
||||
Reference in New Issue
Block a user