@social-mail/social-mail-client 1.8.159 → 1.8.161
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/dist/admin/AdminAppIndex.pack.js +5 -2
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/pages/user/multi-factor/SetupMultiFactorPage.js +5 -2
- package/dist/common/pages/user/multi-factor/SetupMultiFactorPage.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +5 -2
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +5 -2
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/pages/user/multi-factor/SetupMultiFactorPage.tsx +2 -2
|
@@ -48286,7 +48286,10 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
48286
48286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
48287
48287
|
var _a;
|
|
48288
48288
|
this.model = yield this.userService.getCurrent();
|
|
48289
|
-
this.pendingPhoneVerification = (_a = this.model.authFactors) === null || _a === void 0 ? void 0 : _a.find(x =>
|
|
48289
|
+
this.pendingPhoneVerification = (_a = this.model.authFactors) === null || _a === void 0 ? void 0 : _a.find(x => {
|
|
48290
|
+
var _a;
|
|
48291
|
+
return x.method === "otp-in" && x.verified === false && ((_a = x.verificationToken) === null || _a === void 0 ? void 0 : _a.verificationID) > 0;
|
|
48292
|
+
});
|
|
48290
48293
|
const {
|
|
48291
48294
|
multiFactor
|
|
48292
48295
|
} = this.model;
|
|
@@ -48383,7 +48386,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
48383
48386
|
}
|
|
48384
48387
|
verifyCellPhone() {
|
|
48385
48388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
48386
|
-
const pv = this.pendingPhoneVerification;
|
|
48389
|
+
const pv = this.pendingPhoneVerification || this.model.authFactors.find(x => x.method === "otp-in" && x.verificationToken);
|
|
48387
48390
|
if (!pv) {
|
|
48388
48391
|
return yield this.addCellPhone();
|
|
48389
48392
|
}
|