Home / Clients and The Client Area / Client Registration

Client Registration

Public sign-up, email verification

What it is

Client registration allows new customers to create an account via the public registration form at /auth/register. You can enable or disable registration, require email verification before ordering or before activation, and restrict which email domains can register (blacklist or whitelist).

How it works

Auth::register() creates a record in the users table and a linked record in clients. If email verification is enabled, a verification email is sent with a tokenised link. When the client clicks the link, email_verified is set to 1.

Key settings (stored in settings table):

  • allow_client_registration – 1 to allow, 0 to disable
  • require_email_verification_before_order – block checkout until verified
  • require_email_verification_before_activation – delay service activation until verified
  • email_domain_restriction_mode – blacklist or whitelist

Banned/allowed domains are stored in banned_email_domains and allowed_email_domains.

How to set up

  1. Go to Admin → Settings → Client Registration (/admin/settings/client-registration).
  2. Enable Allow client registration if you want public sign-ups.
  3. Configure Email verification options (see Email Verification).
  4. Optionally add banned domains (e.g. temp-mail.org) or allowed domains for whitelist mode.
  5. Save settings.

Was this helpful?