ps-toolkit-ui 1.3.39 → 1.3.40
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/ps-toolkit-ui.umd.js +2 -2
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/login/login.component.js +3 -3
- package/fesm2015/ps-toolkit-ui.js +2 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -6710,7 +6710,7 @@
|
|
|
6710
6710
|
loginForm_1.subName = this.login.l('LoginSmsSubTitle', '');
|
|
6711
6711
|
loginForm_1.onSuccess = function (result) {
|
|
6712
6712
|
_this.login.setCookie(result);
|
|
6713
|
-
if (_this.login.steps.length > 2 && result.
|
|
6713
|
+
if (_this.login.steps.length > 2 && result.User === null) {
|
|
6714
6714
|
_this.login.steps[2].show(result.StepData);
|
|
6715
6715
|
setTimeout(function () { _this.login.steps[2].form.inputs.find(function (x) { return true; }).focus(); }, 100);
|
|
6716
6716
|
}
|
|
@@ -6782,7 +6782,7 @@
|
|
|
6782
6782
|
var login = new InputClass(this.config.environment, this.login.l, 'LoginPassword', 'fa-duotone fa-sign-in-alt', exports.InputType.Submit, 'h-45' + (this.loginTemplate === 'Simple' ? ' primary' : ''));
|
|
6783
6783
|
loginForm_2.onSuccess = function (result) {
|
|
6784
6784
|
_this.login.setCookie(result);
|
|
6785
|
-
if (_this.login.steps.length > 1 && result.
|
|
6785
|
+
if (_this.login.steps.length > 1 && result.User === null) {
|
|
6786
6786
|
_this.login.steps[1].show(result.StepData);
|
|
6787
6787
|
setTimeout(function () { _this.login.steps[1].form.inputs.find(function (x) { return true; }).focus(); }, 100);
|
|
6788
6788
|
}
|