diff --git a/apps/dokploy/components/dashboard/settings/profile/enable-2fa.tsx b/apps/dokploy/components/dashboard/settings/profile/enable-2fa.tsx index 9a2191a0a..cd053d975 100644 --- a/apps/dokploy/components/dashboard/settings/profile/enable-2fa.tsx +++ b/apps/dokploy/components/dashboard/settings/profile/enable-2fa.tsx @@ -100,7 +100,7 @@ export const Enable2FA = () => { }); if (result.error) { - if (result.error.code === "INVALID_TWO_FACTOR_AUTHENTICATION") { + if (result.error.code === "INVALID_CODE") { toast.error("Invalid verification code"); return; }