@punks/backend-entity-manager 0.0.328 → 0.0.330

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.
package/dist/cjs/index.js CHANGED
@@ -22880,7 +22880,7 @@ let UserCreationHandler = class UserCreationHandler {
22880
22880
  await this.services.getUsersService().update(user.id, {
22881
22881
  passwordHash,
22882
22882
  passwordUpdateTimestamp: new Date(),
22883
- verified: true,
22883
+ verified: input.verified ?? true,
22884
22884
  });
22885
22885
  this.logger.debug(`User already exists but not verified. Updating password and marking as verified: ${input.email} - ${input.userName}`, { user });
22886
22886
  return {
@@ -22893,7 +22893,7 @@ let UserCreationHandler = class UserCreationHandler {
22893
22893
  await this.services.getUsersService().update(newUser.id, {
22894
22894
  passwordHash,
22895
22895
  passwordUpdateTimestamp: new Date(),
22896
- verified: true,
22896
+ verified: input.verified ?? true,
22897
22897
  });
22898
22898
  this.logger.debug(`New user created: ${input.email} - ${input.userName}`, {
22899
22899
  user: newUser,