@semapps/auth 0.6.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@semapps/auth",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "description": "Authentification module for SemApps",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Virtual Assembly",
7
7
  "dependencies": {
8
- "@semapps/ldp": "0.6.2",
9
- "@semapps/middlewares": "0.6.2",
10
- "@semapps/mime-types": "0.6.2",
11
- "@semapps/triplestore": "0.6.2",
8
+ "@semapps/ldp": "0.7.0",
9
+ "@semapps/middlewares": "0.7.0",
10
+ "@semapps/mime-types": "0.7.0",
11
+ "@semapps/triplestore": "0.7.0",
12
12
  "bcrypt": "^5.0.1",
13
13
  "express-session": "^1.17.0",
14
14
  "jsonwebtoken": "^8.5.1",
@@ -29,5 +29,5 @@
29
29
  "engines": {
30
30
  "node": ">=14"
31
31
  },
32
- "gitHead": "454d234624217c86eec5d5b676e4b2f3e31a918b"
32
+ "gitHead": "793f935c61e5f4e87ac17ee1dd41a968f12678b4"
33
33
  }
@@ -32,11 +32,13 @@ const AuthLocalService = {
32
32
 
33
33
  this.passportId = 'local';
34
34
 
35
- await this.broker.createService(AuthMailService, {
36
- settings: {
37
- ...mail
38
- }
39
- });
35
+ if (mail !== false) {
36
+ await this.broker.createService(AuthMailService, {
37
+ settings: {
38
+ ...mail
39
+ }
40
+ });
41
+ }
40
42
  },
41
43
  actions: {
42
44
  async signup(ctx) {
@@ -13,6 +13,7 @@ const CapabilitiesService = {
13
13
  settings: {
14
14
  path: CAPABILITIES_ROUTE,
15
15
  excludeFromMirror: true,
16
+ activateTombstones: false,
16
17
  permissions: {},
17
18
  newResourcesPermissions: {}
18
19
  },