Index: ssts-web/src/main/webapp/logon.jsp =================================================================== diff -u -r40886 -r40889 --- ssts-web/src/main/webapp/logon.jsp (.../logon.jsp) (revision 40886) +++ ssts-web/src/main/webapp/logon.jsp (.../logon.jsp) (revision 40889) @@ -508,14 +508,14 @@ buttons : [{ id : 'saveBtn', text : '确认', - handler : saveByVerification + handler : save }, { text : '取消', handler : function(){top.Ext.getCmp('modifyPWDWindow').close();} }] }); - function saveByVerification(){ + function save() { if (!formObj.form.isValid()) { top.Ext.MessageBox.show({ title : '错误提示', @@ -545,24 +545,6 @@ }); return false; } - if (sstsConfig.needBeStrongPwdWhenModifyPwd && sstsConfig.enableTwoFactorAuthentication == 1) { - var smsVerificationCode = Ext.getCmp('smsVerificationCode').getValue(); - var encryptedUserCode = encrypt.encrypt(smsVerificationCode); - var userName = document.getElementById("j_username_display").value; - var encryptedUserName = encrypt.encrypt(userName); - validateAuthenticationCode(encryptedUserName, encryptedUserCode, function (res) { - if (res.success) { - save(); - } else { - showResult(res.message); - } - }) - } else { - save(); - } - } - - function save() { formObj.form.submit({ url : WWWROOT + '/personalSetting/modifyPWDByExt/save.do', method : 'POST',