Skip to main content
Launch Crate

Two-Factor Auth Is Now On by Default: Here Is Why

Date
Sep 06, 2026
Author
Theo Lindqvist
Read time
2 min
Views
34,327

New installs now require 2FA for admins. What changed, how recovery codes work and how to opt out.

Hardware security keys work anywhere two-factor codes do, and we recommend them for anyone with access to payments.

The threat

Login attempts are rate limited per account and per IP address with a sliding window, which slows attackers without locking out real users.

Every form carries a CSRF token, and every state-changing request is checked on the server, not just hidden in the interface.

  • Two-factor authentication on by default
  • Sliding-window login rate limits
  • CSRF tokens on every form
  • Signed and timed password reset links

“Security is a process, not a product.”

— Bruce Schneier

Our default

We publish security fixes as point releases with a short advisory, and the admin shows a banner until the update is installed.

How to change it

Sessions expire after a period of inactivity that each site owner can tune from the security settings.

Secrets are read from the environment at runtime and never written to the database or the logs.

Security defaults matter more than security options, because most people never change a default.

New installs require two-factor authentication for every admin account. Recovery codes are shown once and can be regenerated from the profile screen.

How we work on posts like this

Our editing rule of thumb is to cut anything that would not change what the reader does next. Background and history are welcome when they explain a decision, but a post that only tells a story without leaving the reader able to do something is usually a draft that is not finished yet.

Finally, every post gets a real person as its author. The name on the card is the person who did the work and who will answer the comments, which keeps the writing specific and gives readers someone to hold to account when something does not work as described.

Every post on this blog starts as a note in the issue that shipped the change. When the work is done, whoever built it writes a first draft while the details are still fresh, and someone who did not work on it edits the draft for clarity. That second reader catches the jargon and the missing steps that the author can no longer see.

Questions or a better approach? Leave a comment below, or reply to the build-log email and we will fold the best ideas into the next release.

12 Comments Discussion
  1. Leo Novak 10:05 am

    Would you share the full config file? The snippet is helpful but I am missing context.

  2. Aiko Tanaka 6:09 am

    How long did this take you end to end? Trying to plan our own migration.

  3. Chloe Dubois 2:16 pm

    Great write-up. Would love a follow-up on how you handle this with multiple environments.

    1. Sofia Rossi 4:15 am

      It worked for me on 3.1 after running the upgrade command.

      1. Raj Patel 12:51 pm

        Agreed, the screenshots help a lot.

      2. Theo Lindqvist Author 4:23 pm

        Glad it helped. Let us know how the migration goes.

  4. Mateo Silva 8:30 am

    We switched to this approach after the last post and support tickets dropped noticeably.

    1. Leo Novak 6:09 am

      Agreed, the screenshots help a lot.

  5. Raj Patel 5:36 pm

    Great write-up. Would love a follow-up on how you handle this with multiple environments.

  6. Olu Adebayo 12:15 pm

    Does this change anything for sites running a child theme?

  7. Grace Mensah 12:48 pm

    Clear, practical and no fluff. Thank you.

  8. Tomasz Nowak 10:45 pm

    The bit about writing the rollback plan down first really landed for our team.

Leave a comment

Your email address will not be published. Required fields are marked *

Version 3.2 is out

Ship your next Side Project Faster

One-command install • 14 payment and login providers • 9 starter themes • Admin dashboard • Search-ready pages • Installable app

PHP 8.4 Laravel 12 Tailwind 4 Vite PWA