Skip to content

v1.15.0 — Two-factor, passkeys, custom pipelines & plan offers

Latest

Choose a tag to compare

@edgarjc edgarjc released this 12 Nov 23:08
· 5 commits to main since this release
ba28fcf

Added

  • Two-factor authentication — Turn on an authenticator app in Settings → Security, on every plan. Ten recovery codes are saved before it turns on, the page shows how many are left, and "Trust this device for 30 days" skips the code after a password. Clients can turn it on too.
  • Passkeys — Owners and admins can add passkeys in Settings → Security. Saved passkeys show up in the sign-in page's email autofill, or use the "Use a passkey" link. A passkey also counts as the second step for two-factor, including "Require two-factor for staff", and works on the code screen. Needs an https:// web address.
  • Require two-factor for staff — An owner can require 2FA for every owner and admin in the workspace. Anyone without it is taken to setup at their next sign-in. Clients are never required to.
  • Resetting someone's 2FA — Owners and admins can turn off a locked-out member's 2FA from the team page or a client's contact page. Server operators have bun run script:disable-2fa.
  • Security emails — Users are emailed when their password is reset or changed, when 2FA is turned off, and when a recovery code is used.
  • Custom pipelines and project statuses — Create, rename, reorder and delete sales pipelines, each with its own stages, from Settings → Workspace. Every workspace starts with a stock Sales pipeline. Project statuses can be added, renamed, recoloured and reordered; the five built-ins can be renamed but not deleted, and clients see your names in the portal.

Changed

  • Signup creates the account first (hosted). The plan step is gone from /signup. Pricing links like /signup?plan=pro or ?plan=lifetime still go to checkout, right after the account is created.
  • Plan offers inside the app (hosted). Workspace owners are offered a plan at most three times: after their first client invite or first return visit, as a card after a few days of use, and once when the trial ends. Workspaces already on Free see one plan screen on their next visit. Admins, team members and clients never see them, and self-hosted installs never do.
  • Trial emails say what the workspace did and link to Pro and Lifetime. A trial email that reaches no owner is now logged as an error.
  • The Lifetime seat count reads the same everywhere: "Limited to N seats" until 50 have sold, then the live count.

Security

  • No way around 2FA — A user with 2FA who signs in by email link (or any way other than their code) can only enter their code or sign out until they do; every other request, Better Auth's own included, is refused.

Upgrading

New tables (two_factor, passkey, plan_offer, pursuit_pipeline, pursuit_stage) and columns are created by prisma db push, which the Docker image runs on start. Existing workspaces get their stock pipeline and statuses at boot.