diff --git a/components/Forms/Edit/Profile/index.tsx b/components/Forms/Edit/Profile/index.tsx index 3da12068c..317fa2066 100644 --- a/components/Forms/Edit/Profile/index.tsx +++ b/components/Forms/Edit/Profile/index.tsx @@ -90,7 +90,7 @@ export default function Form({ user }: EditFormProps) { toast.success(response.message) utils.user.get.invalidate() if (isPasswordChanged) { - router.push(logout[lang] + "?redirectTo=%2Flogin%3Fuppd%3D1") + router.push(logout[lang]) } else { router.push(profile[lang]) }