Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

requested changes

Daniel Hougaardaa3af1672a2f
diff --git a/backend/src/services/org-admin/org-admin-service.ts b/backend/src/services/org-admin/org-admin-service.ts
index 39013808f4..3dec0c7f8c 100644
--- a/backend/src/services/org-admin/org-admin-service.ts
+++ b/backend/src/services/org-admin/org-admin-service.ts
@@ -93,8 +93,10 @@ export const orgAdminServiceFactory = ({
const project = await projectDAL.findOne({ id: projectId, orgId: actorOrgId });
if (!project) throw new NotFoundError({ message: `Project with ID '${projectId}' not found` });
- if (project.version === ProjectVersion.V1) {
- throw new BadRequestError({ message: "Please upgrade your project on your dashboard" });
+ if (project.version === ProjectVersion.V1 || project.version === ProjectVersion.V2) {
+ throw new BadRequestError({
+ message: `Project '${project.name}' is a legacy project and must be upgraded before accessing it through the admin console.`
+ });
}
// check already there exist a membership if there return it
diff --git a/frontend/src/components/auth/UserInfoStep.tsx b/frontend/src/components/auth/UserInfoStep.tsx
index fac3c35844..2eb6c65f6b 100644
--- a/frontend/src/components/auth/UserInfoStep.tsx
+++ b/frontend/src/components/auth/UserInfoStep.tsx
@@ -97,8 +97,6 @@ export default function UserInfoStep({
});
if (!errorCheck) {
- console.log("signupErrorCheck passed");
-
try {
const response = await completeAccountSignup({
email,