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 registration in ce #4165

Merged
merged 1 commit into from
Jun 3, 2024
Merged

fix registration in ce #4165

merged 1 commit into from
Jun 3, 2024

Conversation

ruslandoga
Copy link
Contributor

@ruslandoga ruslandoga commented May 30, 2024

Changes

This PR fixes the registration issue reported in #4164 (submitting the form doesn't redirect to the next step)

Tests

  • Automated tests have been added

Changelog

  • Entry has been added to changelog

Documentation

  • This change does not need a documentation update

Dark mode

  • This PR does not change the UI

@ruslandoga ruslandoga requested a review from a team May 30, 2024 16:43
@@ -317,7 +317,7 @@ defmodule PlausibleWeb.Live.RegisterForm do

{:noreply, push_event(socket, "send-metrics", metrics_params)}
else
{:noreply, socket}
{:noreply, assign(socket, trigger_submit: true)}
Copy link
Contributor Author

@ruslandoga ruslandoga May 30, 2024

Choose a reason for hiding this comment

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

In CE Metrics hook isn't used so "send-metrics-after" event (which triggers submit) never arrives.

@ruslandoga ruslandoga added the self-hosting Anything self-hosted label Jun 2, 2024
@zoldar zoldar merged commit 7cd9bea into master Jun 3, 2024
10 checks passed
@zoldar zoldar deleted the fix-registration-in-ce branch June 3, 2024 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
self-hosting Anything self-hosted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants