@c8y/ngx-components 1011.0.16 → 1011.0.19
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/fesm2015/c8y-ngx-components.js +2 -3
- package/fesm2015/c8y-ngx-components.js.map +1 -1
- package/package.json +2 -2
|
@@ -11800,14 +11800,8 @@
|
|
|
11800
11800
|
this.LOGIN_VIEWS = exports.LoginViews;
|
|
11801
11801
|
this.loading = false;
|
|
11802
11802
|
this.hasError = false;
|
|
11803
|
+
this.isSetup = false;
|
|
11803
11804
|
}
|
|
11804
|
-
Object.defineProperty(TotpAuthComponent.prototype, "isSetup", {
|
|
11805
|
-
get: function () {
|
|
11806
|
-
return this.view === exports.LoginViews.TotpSetup;
|
|
11807
|
-
},
|
|
11808
|
-
enumerable: false,
|
|
11809
|
-
configurable: true
|
|
11810
|
-
});
|
|
11811
11805
|
/**
|
|
11812
11806
|
* In case of a setup we need the user to be authorized
|
|
11813
11807
|
* first.
|
|
@@ -11821,6 +11815,7 @@
|
|
|
11821
11815
|
return [4 /*yield*/, this.loginService.switchLoginMode(this.credentials)];
|
|
11822
11816
|
case 1:
|
|
11823
11817
|
_a.sent();
|
|
11818
|
+
this.isSetup = true;
|
|
11824
11819
|
_a.label = 2;
|
|
11825
11820
|
case 2: return [2 /*return*/];
|
|
11826
11821
|
}
|