| | |
| | | {
|
| | | if (UserCenterResourse.Option.PswAuthentication != strPsw)
|
| | | {
|
| | | UserCenterResourse.Option.PasswordInputCount--;
|
| | | if (UserCenterResourse.Option.PasswordInputCount <= 0)
|
| | | {
|
| | | //管理员身份验证失败,请重新登录
|
| | | string msg2 = Language.StringByID(R.MyInternationalizationString.uCheckAdministratorFailAndReload);
|
| | | this.ShowMassage(ShowMsgType.Tip, msg2);
|
| | | UserCenterLogic.ReLoginAgain(Common.Config.Instance.Account);
|
| | | return;
|
| | | }
|
| | | //密码错误,请重新输入
|
| | | pswControl.SetErrorMsg(Language.StringByID(R.MyInternationalizationString.uOldPsswordIsError));
|
| | | return;
|
| | | }
|
| | | //重置剩余密码次数
|
| | | UserCenterResourse.Option.ResetPasswordCount();
|
| | | //界面关闭
|
| | | this.CloseForm();
|
| | | SuccessAction?.Invoke();
|