Commit 4255a1da authored by Johannes Zellner's avatar Johannes Zellner

Ensure we don't use ldap user id

parent 47f4dea8
......@@ -49,7 +49,6 @@ const auth = (username, password) => search(username)
} else {
return bind(`cn=${entries[0].username},${process.env.CLOUDRON_LDAP_USERS_BASE_DN}`, password)
.then(() => ({
id: entries[0].id,
username: entries[0].username,
displayName: entries[0].displayname,
email: entries[0].email,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment