Skip to content

Commit

Permalink
🐛 fixed automatic user creation through LDAP
Browse files Browse the repository at this point in the history
  • Loading branch information
faburem committed Oct 4, 2024
1 parent 5832a51 commit c421890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion imports/utils/ldap.js
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ getGlobalSettingAsync('enableLDAP').then((ldapEnabled) => {
loginRequest.ldapPass = undefined
}

const result = await addLdapUser(ldapUser, username, loginRequest.ldapPass)
const result = await addLdapUser(ldapUser, username[0], loginRequest.ldapPass)

if (LDAP.getSettings('LDAP_SYNC_ADMIN_STATUS') === true) {
logDebug('Updating admin status')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "titra",
"version": "0.99.16",
"version": "0.99.17",
"private": true,
"scripts": {
"start": "meteor run"
Expand Down

0 comments on commit c421890

Please sign in to comment.