Skip to content

Commit

Permalink
Move NextAuth secret for production into another file
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielMajeri committed Jan 24, 2025
1 parent ab2a4a8 commit d0f063e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ NEXT_PUBLIC_BASE_URL=https://ponou.unibuc.ro/

# NextAuth configuration
NEXTAUTH_URL=https://ponou.unibuc.ro/
NEXTAUTH_SECRET=dev

# EuPlatesc credentials
EUPLATESC_MERCHANT_ID=44841002813
Expand Down
2 changes: 1 addition & 1 deletion src/components/forms/reusable/ReCAPTCHAForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function ReCAPTCHAForm<T extends ReCAPTCHAInput>({
size="normal"
sitekey={process.env.NEXT_PUBLIC_RECAPTCHA!}
onChange={field.onChange}
hl={locale}
hl={typeof locale === "string" ? locale : "ro"}
/>
{disabled && (
<div className="absolute inset-0 z-10 bg-white bg-opacity-50 " />
Expand Down

0 comments on commit d0f063e

Please sign in to comment.