Index: ssts-web/src/main/webapp/personalSetting/showModifyPWDWindowByExt.js =================================================================== diff -u -r40885 -r40889 --- ssts-web/src/main/webapp/personalSetting/showModifyPWDWindowByExt.js (.../showModifyPWDWindowByExt.js) (revision 40885) +++ ssts-web/src/main/webapp/personalSetting/showModifyPWDWindowByExt.js (.../showModifyPWDWindowByExt.js) (revision 40889) @@ -122,14 +122,14 @@ buttons: [{ id: 'saveBtn', text: '确认', - handler: saveByVerification + handler: save }, { text: '取消', handler: function () { Ext.getCmp('modifyPWDWindow').close(); } }] }); - function saveByVerification() { + function save() { if (!formObj.form.isValid()) { Ext.MessageBox.show({ title: '错误提示', @@ -160,22 +160,6 @@ }); return false; } - if (sstsConfig.needBeStrongPwdWhenModifyPwd && sstsConfig.enableTwoFactorAuthentication == 1) { - var smsVerificationCode = Ext.getCmp('smsVerificationCode').getValue(); - var encryptedUserCode = encrypt.encrypt(smsVerificationCode); - 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',