@genesislcap/foundation-login 14.155.0-axes.2 → 14.155.0-canary.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-form.d.ts","sourceRoot":"","sources":["../../../../src/routes/login-form/login-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAKpE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAI/B,qBAKa,SAAU,SAAQ,SAAS;IAC1B,IAAI,EAAE,GAAG,EAAE,CAAM;IACjB,WAAW,EAAE,MAAM,CAAM;IACzB,UAAU,EAAE,OAAO,CAAS;
|
|
1
|
+
{"version":3,"file":"login-form.d.ts","sourceRoot":"","sources":["../../../../src/routes/login-form/login-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAKpE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAI/B,qBAKa,SAAU,SAAQ,SAAS;IAC1B,IAAI,EAAE,GAAG,EAAE,CAAM;IACjB,WAAW,EAAE,MAAM,CAAM;IACzB,UAAU,EAAE,OAAO,CAAS;IAC5B,WAAW,EAAE,OAAO,CAAS;IAEnC,iBAAiB;IAuBjB,KAAK;IAqBL,gBAAgB,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;IAStD,OAAO,CAAC,yBAAyB;IA8BjC,OAAO,CAAC,iBAAiB;IAczB,iBAAiB;IAmBjB,IACI,eAAe,WAElB;IAED,cAAc,MAAO,WAAW,KAAG,IAAI,CAIrC;IAEF,UAAU;IAiBV,OAAO,CAAC,cAAc;IAQhB,YAAY;IAIZ,aAAa;IAOb,KAAK,CAAC,WAAW,EAAE,QAAQ;IAiDjC,IACI,iBAAiB,6BAEpB;IAED,IAAI,qBAAqB,YAExB;IAED,IAAI,cAAc,YAEjB;CACF"}
|
|
@@ -13,6 +13,7 @@ let LoginForm = class LoginForm extends BaseRoute {
|
|
|
13
13
|
this.idps = [];
|
|
14
14
|
this.selectedIDP = '';
|
|
15
15
|
this.ssoToggled = false;
|
|
16
|
+
this.mfaMailSent = false;
|
|
16
17
|
this.toggleHttpMode = (e) => {
|
|
17
18
|
if (!this.connect)
|
|
18
19
|
return;
|
|
@@ -34,7 +35,8 @@ let LoginForm = class LoginForm extends BaseRoute {
|
|
|
34
35
|
}
|
|
35
36
|
this.convertHostUrl();
|
|
36
37
|
const shouldAutofill = !this.ssoToggled &&
|
|
37
|
-
!this.credentialManager.validateRefreshCredentials(this.credentialManager.createRefreshCredentials())
|
|
38
|
+
!this.credentialManager.validateRefreshCredentials(this.credentialManager.createRefreshCredentials()) &&
|
|
39
|
+
!this.mfaMailSent;
|
|
38
40
|
if (shouldAutofill) {
|
|
39
41
|
yield this.autofill();
|
|
40
42
|
}
|
|
@@ -209,6 +211,7 @@ let LoginForm = class LoginForm extends BaseRoute {
|
|
|
209
211
|
this.session.setLocalStorageItem('refreshToken', err.received.REFRESH_AUTH_TOKEN);
|
|
210
212
|
this.session.setLocalStorageItem('username', this.username);
|
|
211
213
|
this.setError('Please check your inbox for your login link.');
|
|
214
|
+
this.mfaMailSent = true;
|
|
212
215
|
return;
|
|
213
216
|
}
|
|
214
217
|
if (this.config.fields.organisation &&
|
|
@@ -243,6 +246,9 @@ __decorate([
|
|
|
243
246
|
__decorate([
|
|
244
247
|
observable
|
|
245
248
|
], LoginForm.prototype, "ssoToggled", void 0);
|
|
249
|
+
__decorate([
|
|
250
|
+
observable
|
|
251
|
+
], LoginForm.prototype, "mfaMailSent", void 0);
|
|
246
252
|
__decorate([
|
|
247
253
|
volatile
|
|
248
254
|
], LoginForm.prototype, "selectedIDPName", null);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-login",
|
|
3
3
|
"description": "Genesis Foundation Login",
|
|
4
|
-
"version": "14.155.0-
|
|
4
|
+
"version": "14.155.0-canary.2",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/foundation-login.d.ts",
|
|
@@ -59,21 +59,21 @@
|
|
|
59
59
|
"test:debug": "genx test --debug"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@genesislcap/foundation-testing": "14.155.0-
|
|
63
|
-
"@genesislcap/genx": "14.155.0-
|
|
64
|
-
"@genesislcap/rollup-builder": "14.155.0-
|
|
65
|
-
"@genesislcap/ts-builder": "14.155.0-
|
|
66
|
-
"@genesislcap/uvu-playwright-builder": "14.155.0-
|
|
67
|
-
"@genesislcap/vite-builder": "14.155.0-
|
|
68
|
-
"@genesislcap/webpack-builder": "14.155.0-
|
|
62
|
+
"@genesislcap/foundation-testing": "14.155.0-canary.2",
|
|
63
|
+
"@genesislcap/genx": "14.155.0-canary.2",
|
|
64
|
+
"@genesislcap/rollup-builder": "14.155.0-canary.2",
|
|
65
|
+
"@genesislcap/ts-builder": "14.155.0-canary.2",
|
|
66
|
+
"@genesislcap/uvu-playwright-builder": "14.155.0-canary.2",
|
|
67
|
+
"@genesislcap/vite-builder": "14.155.0-canary.2",
|
|
68
|
+
"@genesislcap/webpack-builder": "14.155.0-canary.2",
|
|
69
69
|
"rimraf": "^3.0.2"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@genesislcap/foundation-comms": "14.155.0-
|
|
73
|
-
"@genesislcap/foundation-logger": "14.155.0-
|
|
74
|
-
"@genesislcap/foundation-ui": "14.155.0-
|
|
75
|
-
"@genesislcap/foundation-utils": "14.155.0-
|
|
76
|
-
"@genesislcap/foundation-zero": "14.155.0-
|
|
72
|
+
"@genesislcap/foundation-comms": "14.155.0-canary.2",
|
|
73
|
+
"@genesislcap/foundation-logger": "14.155.0-canary.2",
|
|
74
|
+
"@genesislcap/foundation-ui": "14.155.0-canary.2",
|
|
75
|
+
"@genesislcap/foundation-utils": "14.155.0-canary.2",
|
|
76
|
+
"@genesislcap/foundation-zero": "14.155.0-canary.2",
|
|
77
77
|
"@microsoft/fast-components": "^2.30.6",
|
|
78
78
|
"@microsoft/fast-element": "^1.12.0",
|
|
79
79
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"access": "public"
|
|
91
91
|
},
|
|
92
92
|
"customElements": "dist/custom-elements.json",
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "cc29273ef4672aa54a903a1027ebf37f81ab0766"
|
|
94
94
|
}
|