Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: recaptcha script was not loaded in the html #448

Merged
merged 3 commits into from
Nov 18, 2024
Merged

Conversation

spaenleh
Copy link
Member

@spaenleh spaenleh commented Nov 15, 2024

In this PR I fix an issue where the JS script for recaptcha was not loaded and thus users were unable to log in.

I used the same approach as for Umami to conditionally add the script tag to the built HTML.
This way we have a cleaner build. The recaptcha key is required when building for production. If not provided the build will fail.

@spaenleh spaenleh requested review from pyphilia and ReidyT November 15, 2024 14:57
@spaenleh spaenleh self-assigned this Nov 15, 2024
@spaenleh spaenleh added the bug label Nov 15, 2024
Copy link
Contributor

@ReidyT ReidyT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good! Nice job

@spaenleh spaenleh added this pull request to the merge queue Nov 18, 2024
Merged via the queue into main with commit 6245fbe Nov 18, 2024
4 checks passed
@spaenleh spaenleh deleted the fix-recaptcha branch November 18, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants