@loomcore/api 0.1.65 → 0.1.66

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.
@@ -189,7 +189,7 @@ export class AuthService extends MultiTenantApiService {
189
189
  }
190
190
  const validationErrors = entityUtils.validate(passwordValidator, { password: password });
191
191
  entityUtils.handleValidationResult(validationErrors, 'AuthService.resetPassword');
192
- const result = await this.changePassword(EmptyUserContext, { email: lowerCaseEmail }, password);
192
+ const result = await this.changePassword(getSystemUserContext(), { email: lowerCaseEmail }, password);
193
193
  console.log(`password changed using forgot-password for email: ${lowerCaseEmail}`);
194
194
  await this.passwordResetTokenService.deleteById(EmptyUserContext, retrievedPasswordResetToken._id.toString());
195
195
  console.log(`passwordResetToken deleted for email: ${lowerCaseEmail}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loomcore/api",
3
- "version": "0.1.65",
3
+ "version": "0.1.66",
4
4
  "private": false,
5
5
  "description": "Loom Core Api - An opinionated Node.js api using Typescript, Express, and MongoDb or PostgreSQL",
6
6
  "scripts": {