mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 22:28:25 +00:00
removed session references
This commit is contained in:
@@ -71,4 +71,3 @@ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
|
|||||||
|
|
||||||
CLIENT_ID_GOOGLE=
|
CLIENT_ID_GOOGLE=
|
||||||
CLIENT_SECRET_GOOGLE=
|
CLIENT_SECRET_GOOGLE=
|
||||||
SESSION_SECRET=
|
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ export const getClientSlugVercel = async () => (await client.getSecret('CLIENT_S
|
|||||||
export const getPostHogHost = async () => (await client.getSecret('POSTHOG_HOST')).secretValue || 'https://app.posthog.com';
|
export const getPostHogHost = async () => (await client.getSecret('POSTHOG_HOST')).secretValue || 'https://app.posthog.com';
|
||||||
export const getPostHogProjectApiKey = async () => (await client.getSecret('POSTHOG_PROJECT_API_KEY')).secretValue || 'phc_nSin8j5q2zdhpFDI1ETmFNUIuTG4DwKVyIigrY10XiE';
|
export const getPostHogProjectApiKey = async () => (await client.getSecret('POSTHOG_PROJECT_API_KEY')).secretValue || 'phc_nSin8j5q2zdhpFDI1ETmFNUIuTG4DwKVyIigrY10XiE';
|
||||||
export const getSentryDSN = async () => (await client.getSecret('SENTRY_DSN')).secretValue;
|
export const getSentryDSN = async () => (await client.getSecret('SENTRY_DSN')).secretValue;
|
||||||
export const getSessionSecret = async () => (await client.getSecret('SESSION_SECRET')).secretValue;
|
|
||||||
export const getSiteURL = async () => (await client.getSecret('SITE_URL')).secretValue;
|
export const getSiteURL = async () => (await client.getSecret('SITE_URL')).secretValue;
|
||||||
export const getSmtpHost = async () => (await client.getSecret('SMTP_HOST')).secretValue;
|
export const getSmtpHost = async () => (await client.getSecret('SMTP_HOST')).secretValue;
|
||||||
export const getSmtpSecure = async () => (await client.getSecret('SMTP_SECURE')).secretValue === 'true' || false;
|
export const getSmtpSecure = async () => (await client.getSecret('SMTP_SECURE')).secretValue === 'true' || false;
|
||||||
|
|||||||
@@ -77,7 +77,6 @@ import {
|
|||||||
getPort,
|
getPort,
|
||||||
getSentryDSN,
|
getSentryDSN,
|
||||||
getSiteURL,
|
getSiteURL,
|
||||||
getSessionSecret,
|
|
||||||
} from './config';
|
} from './config';
|
||||||
import { initializePassport } from './utils/auth';
|
import { initializePassport } from './utils/auth';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user