Fix/366 registering new ldap user
@@ -3,6 +3,8 @@ CHANGES
## 3.0.9-RC
+* Fix: Registering new LDAP User is failed
+ * Introduced by 3.0.6
* Support: Upgrade libs
* codemirror
* react-codemirror2
@@ -92,7 +92,7 @@ class ExternalAccount {
return User.createUser('', usernameToBeRegistered, undefined, undefined, undefined, User.STATUS_ACTIVE);
})
.then(newUser => {
- return this.associate(providerType, accountId, newUser._id);
+ return this.associate(providerType, accountId, newUser);
});