Skip to content

Build your personal knowledge base with Trilium Notes

fix undefined variable

azivner705aff93ec65
diff --git a/services/change_password.js b/services/change_password.js
index 0237872f8f..47029cc11e 100644
--- a/services/change_password.js
+++ b/services/change_password.js
@@ -29,8 +29,7 @@ async function changePassword(currentPassword, newPassword, req) {
});
return {
- success: true,
- new_encrypted_data_key: newEncryptedDataKey
+ success: true
};
}