Skip to content

Commit

Permalink
Don't set site_limit_exceeded error marker on permission_denied e…
Browse files Browse the repository at this point in the history
…rror
  • Loading branch information
zoldar committed Feb 10, 2025
1 parent c591d0f commit 1598169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plausible_web/controllers/site_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ defmodule PlausibleWeb.SiteController do
changeset: Plausible.Site.changeset(%Plausible.Site{}),
first_site?: first_site?,
site_limit: Plausible.Teams.Billing.site_limit(team),
site_limit_exceeded?: true,
site_limit_exceeded?: false,
flow: flow,
form_submit_url: "/sites?flow=#{flow}"
)
Expand Down

0 comments on commit 1598169

Please sign in to comment.