From fdfa92753252af5b828d6785f9dd2fe382927599 Mon Sep 17 00:00:00 2001 From: 190km Date: Fri, 20 Dec 2024 01:00:16 +0100 Subject: [PATCH] feat(settings/profile): reset password form after validating password change --- .../components/dashboard/settings/profile/profile-form.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/dokploy/components/dashboard/settings/profile/profile-form.tsx b/apps/dokploy/components/dashboard/settings/profile/profile-form.tsx index 65ccff0e..1141397f 100644 --- a/apps/dokploy/components/dashboard/settings/profile/profile-form.tsx +++ b/apps/dokploy/components/dashboard/settings/profile/profile-form.tsx @@ -104,6 +104,7 @@ export const ProfileForm = () => { .then(async () => { await refetch(); toast.success("Profile Updated"); + form.reset(); }) .catch(() => { toast.error("Error to Update the profile");