@c8y/ngx-components 1010.0.28 → 1010.0.29
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/bundles/c8y-ngx-components.umd.js +2 -7
- package/bundles/c8y-ngx-components.umd.js.map +1 -1
- package/bundles/c8y-ngx-components.umd.min.js +1 -1
- package/bundles/c8y-ngx-components.umd.min.js.map +1 -1
- package/c8y-ngx-components.metadata.json +1 -1
- package/core/login/totp-auth.component.d.ts +1 -1
- package/esm2015/core/login/totp-auth.component.js +3 -4
- package/esm5/core/login/totp-auth.component.js +3 -8
- package/fesm2015/c8y-ngx-components.js +2 -3
- package/fesm2015/c8y-ngx-components.js.map +1 -1
- package/fesm5/c8y-ngx-components.js +2 -7
- package/fesm5/c8y-ngx-components.js.map +1 -1
- package/package.json +2 -2
|
@@ -12873,14 +12873,8 @@
|
|
|
12873
12873
|
this.LOGIN_VIEWS = exports.LoginViews;
|
|
12874
12874
|
this.loading = false;
|
|
12875
12875
|
this.hasError = false;
|
|
12876
|
+
this.isSetup = false;
|
|
12876
12877
|
}
|
|
12877
|
-
Object.defineProperty(TotpAuthComponent.prototype, "isSetup", {
|
|
12878
|
-
get: function () {
|
|
12879
|
-
return this.view === exports.LoginViews.TotpSetup;
|
|
12880
|
-
},
|
|
12881
|
-
enumerable: true,
|
|
12882
|
-
configurable: true
|
|
12883
|
-
});
|
|
12884
12878
|
/**
|
|
12885
12879
|
* In case of a setup we need the user to be authorized
|
|
12886
12880
|
* first.
|
|
@@ -12894,6 +12888,7 @@
|
|
|
12894
12888
|
return [4 /*yield*/, this.loginService.switchLoginMode(this.credentials)];
|
|
12895
12889
|
case 1:
|
|
12896
12890
|
_a.sent();
|
|
12891
|
+
this.isSetup = true;
|
|
12897
12892
|
_a.label = 2;
|
|
12898
12893
|
case 2: return [2 /*return*/];
|
|
12899
12894
|
}
|