Skip to content

fix: reset honeypot field on successful form submission and remove unused allowScripts config - #46

Merged
mlhaufe merged 1 commit into
masterfrom
pr-fixes
Aug 10, 2026
Merged

mlhaufe merged 1 commit into
masterfrom
pr-fixes

Conversation

@mlhaufe

@mlhaufe mlhaufe commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings August 10, 2026 18:57
@mlhaufe
mlhaufe merged commit 45387ba into master Aug 10, 2026
1 check passed
@mlhaufe
mlhaufe deleted the pr-fixes branch August 10, 2026 18:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the newsletter HubSpot form UX/anti-spam behavior by ensuring the honeypot field is cleared after a successful submission, and simplifies dependency configuration by removing an unused allowScripts block from package.json.

Changes:

  • Reset state.website (honeypot) on successful form submission.
  • Remove unused allowScripts configuration from package.json.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Removes unused allowScripts configuration, leaving only dependencies/overrides.
app/components/HubSpotForm.vue Clears the honeypot website field after successful submission to avoid stale state.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants