Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
Fix: Assign default messaging tier to new accounts
Dave Earley075d35e545cb
diff --git a/backend/app/Services/Application/Handlers/Account/CreateAccountHandler.php b/backend/app/Services/Application/Handlers/Account/CreateAccountHandler.phpindex aa7420aab..bc5d89e35 100644--- a/backend/app/Services/Application/Handlers/Account/CreateAccountHandler.php+++ b/backend/app/Services/Application/Handlers/Account/CreateAccountHandler.php@@ -66,6 +66,7 @@ class CreateAccountHandler'short_id' => IdHelper::shortId(IdHelper::ACCOUNT_PREFIX),'account_verified_at' => $isSaasMode ? null : now()->toDateTimeString(),'account_configuration_id' => $this->getAccountConfigurationId($accountData),+ 'account_messaging_tier_id' => $this->getDefaultMessagingTierId(),]);$user = $this->getExistingUser($accountData) ?? $this->userRepository->create([@@ -258,4 +259,10 @@ class CreateAccountHandlerreturn $appHost === $referrerHost;}++ private function getDefaultMessagingTierId(): int+ {+ // Self-hosted instances get Premium tier, SaaS gets Untrusted+ return $this->config->get('app.is_hi_events') ? 1 : 3;+ }}