fixed changing password

This commit is contained in:
azivner
2017-09-17 00:18:03 -04:00
parent 1d395badfa
commit 0fc604e7b4
4 changed files with 35 additions and 42 deletions

View File

@@ -43,7 +43,11 @@ $("#changePasswordForm").submit(() => {
// encryption password changed so current encryption session is invalid and needs to be cleared
resetEncryptionSession();
globalEncryptedDataKey = result.new_encrypted_data_key;
alert("Password has been changed.");
$("#settingsDialog").dialog('close');
}
else {
alert(result.message);