mirror of
https://github.com/wekan/wekan.git
synced 2026-03-04 04:40:16 +01:00
- Add LDAP. In progress.
Thanks to maximest-pierre, Akuket and xet. Related #119
This commit is contained in:
parent
18a1d4c5c6
commit
288800eafc
9 changed files with 139 additions and 4 deletions
|
|
@ -17,3 +17,13 @@ Meteor.publish('user-admin', function() {
|
|||
},
|
||||
});
|
||||
});
|
||||
|
||||
Meteor.publish('user-connection-method', function(match) {
|
||||
check(match, String);
|
||||
|
||||
return Users.find({$or: [{email: match}, {username: match}]}, {
|
||||
fields: {
|
||||
ldap: 1,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue