HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-03-06 a5b3c4bae726ef6770d4bfcbf2f4b50a37ed4a15
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlCheckLogic.cs
@@ -239,7 +239,7 @@
            TouchIDUtils.Instance.OnHDLTouchIDStateBackEvent = null;
            TouchIDUtils.TouchIDSupperType type = TouchIDUtils.getTouchIDSupperType();
            if (type == TouchIDUtils.TouchIDSupperType.TouchID && UserCenterResourse.Option.FingerprintAuthentication == true)
            if (type == TouchIDUtils.TouchIDSupperType.TouchID && UserCenterResourse.AccountOption.FingerprintAuthentication == true)
            {
                //Touch ID验证
                TouchIDUtils.Instance.OnHDLTouchIDStateBackEvent += (sender2, e2) =>
@@ -254,13 +254,13 @@
                    else if (e2 == TouchIDUtils.TouchIDState.InputPassword)
                    {
                        //密码验证
                        if (string.IsNullOrEmpty(UserCenterResourse.Option.PswAuthentication) == false)
                        if (string.IsNullOrEmpty(UserCenterResourse.AccountOption.PswAuthentication) == false)
                        {
                            var form = new PswSecondarySecurityForm();
                            form.AddForm(i_TouchText, i_PasswordText, i_GestureText, SuccessAction);
                        }
                        //手势验证
                        else if (string.IsNullOrEmpty(UserCenterResourse.Option.GestureAuthentication) == false)
                        else if (string.IsNullOrEmpty(UserCenterResourse.AccountOption.GestureAuthentication) == false)
                        {
                            var form = new PswGestureSecirityForm();
                            form.AddForm(i_TouchText, i_PasswordText, i_GestureText, SuccessAction);
@@ -276,14 +276,14 @@
                TouchIDUtils.Instance.showTouchIDWithDescribe(null, null);
                FailAction = null;
            }
            else if (string.IsNullOrEmpty(UserCenterResourse.Option.PswAuthentication) == false)
            else if (string.IsNullOrEmpty(UserCenterResourse.AccountOption.PswAuthentication) == false)
            {
                //密码验证
                var form = new PswSecondarySecurityForm();
                form.AddForm(i_TouchText, i_PasswordText, i_GestureText, SuccessAction);
                FailAction = null;
            }
            else if (string.IsNullOrEmpty(UserCenterResourse.Option.GestureAuthentication) == false)
            else if (string.IsNullOrEmpty(UserCenterResourse.AccountOption.GestureAuthentication) == false)
            {
                //手势验证
                var form = new PswGestureSecirityForm();