@solidstarters/solid-core 1.2.38 → 1.2.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidstarters/solid-core",
3
- "version": "1.2.38",
3
+ "version": "1.2.39",
4
4
  "description": "This module is a NestJS module containing all the required core providers required by a Solid application",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -70,7 +70,7 @@ export class ModuleMetadataSeederService {
70
70
 
71
71
  const settingsSeederData: any = {
72
72
  iamAllowPublicRegistration: this.iamConfiguration.allowPublicRegistration,
73
- iamPasswordRegistrationEnabled: false,
73
+ iamPasswordRegistrationEnabled: true,
74
74
  iamPasswordLessRegistrationEnabled: this.iamConfiguration.passwordlessRegistration,
75
75
  iamActivateUserOnRegistration: this.iamConfiguration.activateUserOnRegistration,
76
76
  iamGoogleOAuthEnabled: false,
@@ -370,8 +370,8 @@ export class ModuleMetadataSeederService {
370
370
  for (let j = 0; j < actions.length; j++) {
371
371
  const actionData = actions[j];
372
372
  actionData['module'] = await this.moduleMetadataService.findOneByUserKey(actionData.moduleUserKey);
373
- actionData['model'] = await this.modelMetadataService.findOneByUserKey(actionData.modelUserKey);
374
373
  if (actionData.type === 'solid') {
374
+ actionData['model'] = await this.modelMetadataService.findOneByUserKey(actionData.modelUserKey);
375
375
  actionData['view'] = await this.solidViewService.findOneByUserKey(actionData.viewUserKey);
376
376
  }
377
377
  await this.solidActionService.upsert(actionData);