@vsaas/loopback 12.2.0 → 12.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -580,6 +580,9 @@ var require_user = /* @__PURE__ */ require_runtime$1.__commonJSMin(((exports, mo
580
580
  };
581
581
  User.hashPassword = function(plain) {
582
582
  this.validatePassword(plain);
583
+ return this._hashPasswordWithoutValidation(plain);
584
+ };
585
+ User._hashPasswordWithoutValidation = function(plain) {
583
586
  const salt = bcrypt.genSaltSync(this.settings.saltWorkFactor || SALT_WORK_FACTOR);
584
587
  return bcrypt.hashSync(plain, salt);
585
588
  };
@@ -64,7 +64,7 @@ var init_service = require_runtime.__esmMin((() => {
64
64
  this.Challenge = app.models.TwoFactorChallenge;
65
65
  this.RecoveryCode = app.models.TwoFactorRecoveryCode;
66
66
  this.dummyPasswordUser = {
67
- password: this.User.hashPassword(require_lib_two_factor_crypto.randomToken(24)),
67
+ password: this.User._hashPasswordWithoutValidation(require_lib_two_factor_crypto.randomToken(24)),
68
68
  hasPassword: this.User.prototype.hasPassword
69
69
  };
70
70
  }
package/dist/package.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
  var require_package = /* @__PURE__ */ require("./_virtual/_rolldown/runtime.cjs").__commonJSMin(((exports, module) => {
3
3
  module.exports = {
4
4
  "name": "@vsaas/loopback",
5
- "version": "12.2.0",
5
+ "version": "12.2.1",
6
6
  "description": "Fork of LoopBack 3 framework for building APIs and microservices in Node.js",
7
7
  "keywords": [
8
8
  "StrongLoop",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsaas/loopback",
3
- "version": "12.2.0",
3
+ "version": "12.2.1",
4
4
  "description": "Fork of LoopBack 3 framework for building APIs and microservices in Node.js",
5
5
  "keywords": [
6
6
  "StrongLoop",
@@ -104,9 +104,9 @@
104
104
  "nodemailer": "^9.0.5",
105
105
  "otplib": "13.4.1",
106
106
  "serve-favicon": "^2.5.1",
107
+ "@vsaas/loopback-connector-remote": "^12.0.1",
107
108
  "@vsaas/remoting": "^13.0.0",
108
- "@vsaas/loopback-datasource-juggler": "^12.1.2",
109
- "@vsaas/loopback-connector-remote": "^12.0.1"
109
+ "@vsaas/loopback-datasource-juggler": "^12.1.2"
110
110
  },
111
111
  "devDependencies": {
112
112
  "@types/node": "25.5.0",