Skip to content

Commit 056e21e

Browse files
committed
Reset reset password fields on reset password
1 parent 6a43ad5 commit 056e21e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/app/(user)/user/me/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ const ProfilePage = () => {
128128
data: z.infer<typeof resetPasswordFormSchema>
129129
) => {
130130
await resetPasswordFromProfile(data.password);
131+
resetPasswordForm.reset();
131132
};
132133

133134
const triggerFileInput = () => {

0 commit comments

Comments
 (0)