Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: user password updated incorrectly (#6728)

Liu Ji249306cfa062
diff --git a/frontend/src/views/ProfileDashboard.vue b/frontend/src/views/ProfileDashboard.vue
index ab11b335d3..2242288387 100644
--- a/frontend/src/views/ProfileDashboard.vue
+++ b/frontend/src/views/ProfileDashboard.vue
@@ -400,7 +400,7 @@ const saveEdit = async () => {
if (userPatch.phone !== user.value.phone) {
updateMask.push("phone");
}
- if (userPatch.password !== user.value.email) {
+ if (userPatch.password !== "") {
updateMask.push("password");
}
try {