diff --git a/.meteor/versions b/.meteor/versions index c79a262..4a5c79a 100644 --- a/.meteor/versions +++ b/.meteor/versions @@ -43,7 +43,7 @@ html-tools@2.0.0 htmljs@2.0.1 id-map@1.2.0 inter-process-messaging@0.1.2 -jquery@3.0.1 +jquery@3.0.2 launch-screen@2.0.1 localstorage@1.2.1 logging@1.3.5 diff --git a/imports/utils/ldap.js b/imports/utils/ldap.js index b9ba066..e2f020a 100644 --- a/imports/utils/ldap.js +++ b/imports/utils/ldap.js @@ -1106,8 +1106,8 @@ async function addLdapUser(ldapUser, username, password) { try { // This creates the account with password service userObject.ldap = true - userObject._id = Accounts.createUser(userObject) - + userObject._id = await Accounts.createUserAsync(userObject) + logDebug('New user created through LDAP login: ', userObject._id) // Add the services.ldap identifiers await Meteor.users.updateAsync({ _id: userObject._id }, { $set: { diff --git a/package-lock.json b/package-lock.json index 68f2fd4..9c3a7b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,14 +1,14 @@ { "name": "titra", - "version": "0.99.13", + "version": "0.99.15", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "titra", - "version": "0.99.13", + "version": "0.99.15", "dependencies": { - "@babel/runtime": "^7.25.6", + "@babel/runtime": "^7.25.7", "@dashboardcode/bsmultiselect": "^1.1.18", "@fortawesome/fontawesome-free": "^6.6.0", "@fullcalendar/core": "6.1.15", @@ -50,14 +50,15 @@ "eslint-config-airbnb": "^19.0.4", "eslint-import-resolver-meteor": "^0.4.0", "eslint-plugin-i18next": "^6.1.0", - "eslint-plugin-import": "^2.30.0", + "eslint-plugin-import": "^2.31.0", "eslint-plugin-meteor": "^7.3.0" } }, "node_modules/@babel/runtime": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.6.tgz", - "integrity": "sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.7.tgz", + "integrity": "sha512-FjoyLe754PMiYsFaN5C94ttGiOmBNYTf6pLr4xXHAT5uctHb092PBszndLDR5XA/jghQvn4n7JMHl7dmTgbm9w==", + "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -1535,10 +1536,11 @@ } }, "node_modules/eslint-module-utils": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.11.0.tgz", - "integrity": "sha512-gbBE5Hitek/oG6MUVj6sFuzEjA/ClzNflVrLovHi/JgLdC7fiN5gLAY1WIPW1a0V5I999MnsrvVrCOGmmVqDBQ==", + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz", + "integrity": "sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^3.2.7" }, @@ -1556,6 +1558,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } @@ -1574,10 +1577,11 @@ } }, "node_modules/eslint-plugin-import": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.30.0.tgz", - "integrity": "sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw==", + "version": "2.31.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz", + "integrity": "sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==", "dev": true, + "license": "MIT", "dependencies": { "@rtsao/scc": "^1.1.0", "array-includes": "^3.1.8", @@ -1587,7 +1591,7 @@ "debug": "^3.2.7", "doctrine": "^2.1.0", "eslint-import-resolver-node": "^0.3.9", - "eslint-module-utils": "^2.9.0", + "eslint-module-utils": "^2.12.0", "hasown": "^2.0.2", "is-core-module": "^2.15.1", "is-glob": "^4.0.3", @@ -1596,13 +1600,14 @@ "object.groupby": "^1.0.3", "object.values": "^1.2.0", "semver": "^6.3.1", + "string.prototype.trimend": "^1.0.8", "tsconfig-paths": "^3.15.0" }, "engines": { "node": ">=4" }, "peerDependencies": { - "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9" } }, "node_modules/eslint-plugin-import/node_modules/debug": { diff --git a/package.json b/package.json index 2f678d8..7310baf 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "titra", - "version": "0.99.15", + "version": "0.99.16", "private": true, "scripts": { "start": "meteor run" }, "dependencies": { - "@babel/runtime": "^7.25.6", + "@babel/runtime": "^7.25.7", "@dashboardcode/bsmultiselect": "^1.1.18", "@fortawesome/fontawesome-free": "^6.6.0", "@fullcalendar/core": "6.1.15", @@ -48,7 +48,7 @@ "eslint-config-airbnb": "^19.0.4", "eslint-import-resolver-meteor": "^0.4.0", "eslint-plugin-i18next": "^6.1.0", - "eslint-plugin-import": "^2.30.0", + "eslint-plugin-import": "^2.31.0", "eslint-plugin-meteor": "^7.3.0" }, "apidoc": {