| | |
| | | //密码验证
|
| | | if (string.IsNullOrEmpty(UserCenterResourse.Option.PswAuthentication) == false)
|
| | | {
|
| | | var form = new SecondaryPswSecurityForm();
|
| | | var form = new PswSecondarySecurityForm();
|
| | | form.AddForm(i_TouchText, i_PasswordText, i_GestureText, SuccessAction);
|
| | | }
|
| | | //手势验证
|
| | | else if (string.IsNullOrEmpty(UserCenterResourse.Option.GestureAuthentication) == false)
|
| | | {
|
| | | var form = new GesturePswSecirityForm();
|
| | | var form = new PswGestureSecirityForm();
|
| | | form.AddForm(i_TouchText, i_PasswordText, i_GestureText, SuccessAction);
|
| | | }
|
| | | else
|
| | |
| | | else if (string.IsNullOrEmpty(UserCenterResourse.Option.PswAuthentication) == false)
|
| | | {
|
| | | //密码验证
|
| | | var form = new SecondaryPswSecurityForm();
|
| | | var form = new PswSecondarySecurityForm();
|
| | | form.AddForm(i_TouchText, i_PasswordText, i_GestureText, SuccessAction);
|
| | | FailAction = null;
|
| | | }
|
| | | else if (string.IsNullOrEmpty(UserCenterResourse.Option.GestureAuthentication) == false)
|
| | | {
|
| | | //手势验证
|
| | | var form = new GesturePswSecirityForm();
|
| | | var form = new PswGestureSecirityForm();
|
| | | form.AddForm(i_TouchText, i_PasswordText, i_GestureText, SuccessAction);
|
| | | FailAction = null;
|
| | | }
|