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

feat: user can request a newsletter #39

Merged
merged 22 commits into from
Apr 13, 2024
Merged

Conversation

nicopico-dev
Copy link
Owner

No description provided.

@nicopico-dev nicopico-dev marked this pull request as draft March 27, 2024 22:28
The form submission handling in the index page has been updated to prevent page refresh and display success or error messages instead. Accordingly, the HomeController's requestNewsletter method no longer redirects to the home page upon submission, but instead returns an HTTP status and message.
This commit allows the reCaptcha functionality to be enabled or disabled through a property in application.properties. When disabled, form submission and validation proceed without reCaptcha verification. This change affects the HomeController and the display condition of the reCaptcha div in index.html.
@nicopico-dev nicopico-dev marked this pull request as ready for review April 13, 2024 13:34
@nicopico-dev nicopico-dev merged commit ece4623 into main Apr 13, 2024
2 checks passed
@nicopico-dev nicopico-dev deleted the feat/request-a-newsletter branch April 13, 2024 13:40
nicopico-dev added a commit that referenced this pull request Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant