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
fixed bugs with env and password reset
Vladyslav Matsiiako391e37d49e3c
diff --git a/backend/src/ee/services/EELicenseService.ts b/backend/src/ee/services/EELicenseService.tsindex e8fe9253eb..89e71e57bd 100644--- a/backend/src/ee/services/EELicenseService.ts+++ b/backend/src/ee/services/EELicenseService.ts@@ -30,7 +30,6 @@ interface FeatureSet {customRateLimits: boolean;customAlerts: boolean;auditLogs: boolean;- envLimit?: number | null;}/**@@ -60,8 +59,7 @@ class EELicenseService {rbac: true,customRateLimits: true,customAlerts: true,- auditLogs: false,- envLimit: null+ auditLogs: false}public localFeatureSet: NodeCache;diff --git a/frontend/src/components/login/InitialLoginStep.tsx b/frontend/src/components/login/InitialLoginStep.tsxindex 77e83434e5..3dcdf968be 100644--- a/frontend/src/components/login/InitialLoginStep.tsx+++ b/frontend/src/components/login/InitialLoginStep.tsx@@ -76,7 +76,7 @@ export default function InitialLoginStep({{t('login.continue-with-google')}</Button></div> */}- <div className="relative md:px-1.5 flex items-center justify-center lg:w-1/6 w-1/4 min-w-[20rem] md:min-w-[22rem] mx-auto w-full rounded-lg max-h-24 md:max-h-28">+ <div className="relative md:px-1.5 flex items-center justify-center lg:w-1/6 w-1/4 min-w-[21.3rem] md:min-w-[22rem] mx-auto rounded-lg max-h-24 md:max-h-28"><div className="flex items-center justify-center w-full md:px-2 md:py-1 rounded-lg max-h-24 md:max-h-28"><Inputvalue={email}@@ -89,7 +89,7 @@ export default function InitialLoginStep({/></div></div>- <div className="relative pt-2 md:pt-0 md:px-1.5 flex items-center justify-center lg:w-1/6 w-1/4 min-w-[20rem] md:min-w-[22rem] mx-auto w-full rounded-lg max-h-24 md:max-h-28">+ <div className="relative pt-2 md:pt-0 md:px-1.5 flex items-center justify-center w-1/4 lg:w-1/6 min-w-[21.3rem] md:min-w-[22rem] mx-auto rounded-lg max-h-24 md:max-h-28"><div className="flex items-center justify-center w-full md:p-2 rounded-lg max-h-24 md:max-h-28"><Inputvalue={password}@@ -137,5 +137,11 @@ export default function InitialLoginStep({<span className='hover:underline hover:underline-offset-4 hover:decoration-primary-700 hover:text-bunker-200 duration-200 cursor-pointer'>{t('login.create-account')}</span></Link></div>+ <div className="text-bunker-400 text-sm flex flex-row">+ <span className="mr-1">Forgot password?</span>+ <Link href="/verify-email">+ <span className='hover:underline hover:underline-offset-4 hover:decoration-primary-700 hover:text-bunker-200 duration-200 cursor-pointer'>Recover your account</span>+ </Link>+ </div></div>}diff --git a/frontend/src/hooks/api/subscriptions/types.ts b/frontend/src/hooks/api/subscriptions/types.tsindex 61736b4f4e..af1b315d1d 100644--- a/frontend/src/hooks/api/subscriptions/types.ts+++ b/frontend/src/hooks/api/subscriptions/types.ts@@ -12,5 +12,5 @@ export type SubscriptionPlan = {tier: number;workspaceLimit: number;workspacesUsed: number;- envLimit: number;+ environmentLimit: number;};diff --git a/frontend/src/views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsx b/frontend/src/views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsxindex ee9b85cc58..808a74bd82 100644--- a/frontend/src/views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsx+++ b/frontend/src/views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsx@@ -41,12 +41,11 @@ import {CreateServiceToken,CreateUpdateEnvFormData,CreateWsTag,+ E2EESection,EnvironmentSection,ProjectIndexSecretsSection,ProjectNameChangeSection,- ServiceTokenSection,- E2EESection-} from './components';+ ServiceTokenSection} from './components';export const ProjectSettingsPage = () => {const { t } = useTranslation();@@ -91,7 +90,7 @@ export const ProjectSettingsPage = () => {// get user subscriptionconst { subscription } = useSubscription();const host = window.location.origin;- const isEnvServiceAllowed = ((currentWorkspace?.environments || []).length < (subscription?.envLimit || 3) || host !== 'https://app.infisical.com');+ const isEnvServiceAllowed = (((currentWorkspace?.environments || []).length < (subscription?.environmentLimit || 3)) || host !== 'https://app.infisical.com');const onRenameWorkspace = async (name: string) => {try {