@semapps/auth 0.6.1 → 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.
|
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.
|
9
|
-
"@semapps/middlewares": "0.
|
10
|
-
"@semapps/mime-types": "0.
|
11
|
-
"@semapps/triplestore": "0.
|
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": "
|
32
|
+
"gitHead": "793f935c61e5f4e87ac17ee1dd41a968f12678b4"
|
33
33
|
}
|
package/services/auth.local.js
CHANGED
@@ -32,11 +32,13 @@ const AuthLocalService = {
|
|
32
32
|
|
33
33
|
this.passportId = 'local';
|
34
34
|
|
35
|
-
|
36
|
-
|
37
|
-
|
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) {
|