This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/programs/server/packages/rocketchat_ldap.js 2017-10-25 18:47:09.000000000 +0200 | |
+++ b/programs/server/packages/rocketchat_ldap.js 2017-10-27 16:28:44.088377231 +0200 | |
@@ -1057,6 +1057,9 @@ | |
}, // 1 | |
importNewUsers: function () { // 1 | |
return importNewUsers; // 1 | |
+ }, // 1 | |
+ sync: function () { // 1 | |
+ return sync; // 1 | |
} // 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/programs/server/packages/rocketchat_ldap.js 2017-10-19 03:11:23.000000000 +0200 | |
+++ b/programs/server/packages/rocketchat_ldap.js 2017-10-19 12:27:24.233291935 +0200 | |
@@ -1065,11 +1065,11 @@ | |
// | |
if (usernameField.indexOf('#{') > -1) { // 19 | |
return usernameField.replace(/#{(.+?)}/g, function (match, field) { // 20 | |
- return ldapUser[field]; // 21 | |
+ return ldapUser.object[field]; // 21 | |
}); // 22 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am traxanos on github. | |
* I am traxanos (https://keybase.io/traxanos) on keybase. | |
* I have a public key whose fingerprint is 4E81 DDAC 04C7 2B91 182E 5D2F B27A 309D 410A 5C01 | |
To claim this, I am signing this object: |