Skip to content

Commit

Permalink
Added dev fallback for RECAPTCHA_SITE_KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
roar-skinderviken committed Nov 18, 2024
1 parent 540032e commit d3f7e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next-app/src/app/user-signup/UserSignupForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {DEFAULT_APP_PROVIDER_ID} from "@/constants/authProviders"
// put this in next-app/.env.local
// NEXT_PUBLIC_USER_BACKEND_URL=http://localhost:8080/api/user
const BACKEND_URL = process.env.NEXT_PUBLIC_USER_BACKEND_URL || "/backend-spring-boot/api/user"
const RECAPTCHA_SITE_KEY = process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY
const RECAPTCHA_SITE_KEY = process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY || "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI" // dev key

const passwordRegex = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).+$/

Expand Down

0 comments on commit d3f7e72

Please sign in to comment.