Skip to content

Commit

Permalink
remove .env.production
Browse files Browse the repository at this point in the history
  • Loading branch information
craigrbarnes committed Oct 3, 2024
1 parent e679949 commit c3ecee6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 4 additions & 3 deletions packages/frontend/src/components/Login/LoginPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ const LoginPanel = (loginConfig: LoginConfig) => {

<LoginProvidersPanel handleLoginSelected={handleFenceLoginSelected} />

{loginConfig?.showCredentialsLogin && (
<CredentialsLogin handleLogin={handleCredentialsLogin} />
)}
{loginConfig?.showCredentialsLogin &&
process.env.NODE_ENV === 'development' && (
<CredentialsLogin handleLogin={handleCredentialsLogin} />
)}

{bottomContent?.map((content, index) =>
content?.email ? (
Expand Down
2 changes: 0 additions & 2 deletions packages/sampleCommons/.env.production

This file was deleted.

0 comments on commit c3ecee6

Please sign in to comment.