Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
chore: remove redundant error notification
Scott Wilsonf42bdc708f3a
diff --git a/frontend/src/pages/user/PersonalSettingsPage/components/ChangeEmailSection/ChangeEmailSection.tsx b/frontend/src/pages/user/PersonalSettingsPage/components/ChangeEmailSection/ChangeEmailSection.tsxindex c3f52ba339..0ea5cd6096 100644--- a/frontend/src/pages/user/PersonalSettingsPage/components/ChangeEmailSection/ChangeEmailSection.tsx+++ b/frontend/src/pages/user/PersonalSettingsPage/components/ChangeEmailSection/ChangeEmailSection.tsx@@ -159,16 +159,7 @@ export const ChangeEmailSection = () => {return;}- try {- await updateUserEmail({ newEmail: pendingEmail, otpCode: typedOTP });- } catch (err: any) {- const errorMessage = err?.response?.data?.message || "Invalid verification code";- createNotification({ text: errorMessage, type: "error" });- if (errorMessage.includes("Invalid verification code")) {- resetFlow();- }- return;- }+ await updateUserEmail({ newEmail: pendingEmail, otpCode: typedOTP });createNotification({text: "Email updated successfully. You will be redirected to login.",