Skip to main content

Two-step sign-in: the rules

For: product owners, BAs and business admins. The rule: anyone who can change users, roles or the Activity log signs in with their password and a code from their own phone. For everyone else it is a choice.

Until October 2026 a password alone opened every account, including the owner's. A leaked or guessed password of an administrator gave away every user, role and price. B5 added two-step sign-in: after the password, a 6-digit code from an authenticator app on the person's phone.

How two-step sign-in works

The rules

Who must use it

  1. Required for a role that can do any of these:
    • everything (the administrator role);
    • add, edit, delete or switch off users, or reset their passwords;
    • add, edit or delete roles;
    • read or export the Activity log.
  2. Optional for everyone else. They can turn it on from their profile.
  3. A role change counts at once. A sign-in made with the password alone ends within 15 minutes, and the next sign-in asks for setup.

Signing in

  1. After the right password, a code. The code comes from an app on the phone. Nothing is sent for a daily sign-in, so there is no message to be delayed or stolen.
  2. Each code works once, and the code screen waits 5 minutes.
  3. A recovery code can stand in for the app. Each user gets 10, each works once, and every use sends an email with the count left.
  4. Wrong codes count with wrong passwords. Five lock the name, under the sign-in lock rules (Sessions and sign-in lockout: the rules). One sign-in takes 5 wrong codes, then the password is asked again.
  5. Asked every time. There is no "remember this device": many tills are shared.

Setting it up

  1. At sign-in, setup also needs a code emailed to the user. A stolen password alone cannot tie the account to a stranger's phone. A user with no email address sets up with the password alone.
  2. From the profile, turning it on needs the password. A till left signed in cannot be tied to another phone.
  3. Recovery codes are shown once, at setup, and must be saved before going on.

Changing it

  1. Move to a new phone and New recovery codes need a current app code or a recovery code. So a lost phone can be moved without an administrator.
  2. Turn off needs the password and a code, and is refused while the role needs two-step.
  3. Every change emails the user: on, moved, off, new codes, reset, recovery code used.

Resetting it

  1. An administrator can reset another user's two-step with Reset two-step. It needs the Reset Password right. It signs the user out everywhere.
    • Nobody resets their own.
    • Someone who is not an administrator can reset only users who don't need two-step, and whose rights and branches they hold themselves.
  2. The last administrator is reset by Zyrohs support from the database, from a ticket, after checking who is asking.
  3. The phone keys are locked with a server key that is never in the database or in git. Losing that key means everyone sets two-step up again.
Before After
A password opened every account Managers also need a code from their own phone
A leaked administrator password gave away the business The thief also needs the phone, or the owner's email at first setup
Nobody knew when their account's protection changed Every change sends an email

Decisions

Date Decision Reason
2026-10-13 Required for administrators and anyone who manages users, roles or the Activity log; optional for others These accounts can take over every other account
2026-10-13 An authenticator app, not SMS An app works without signal; an SMS can be delayed or redirected
2026-10-13 No "remember this device" Tills and counter PCs are shared
2026-10-13 Its own server key, apart from the sign-in token secret Rotating the token secret must not wipe everyone's setup
2026-10-13 Passkeys later No passkey library in the build yet; codes work on every phone
2026-10-23 First setup at sign-in also needs an emailed code With only the password, a thief could set up their own phone first, and an administrator's reset handed the same chance back
2026-10-23 Turning it on from the profile needs the password A till left signed in could be tied to someone else's phone
2026-10-23 Recovery codes work in the profile too A user who lost their phone could not move it without an administrator

Open questions

Question Why it matters Options
What about required users with no email address? Their first setup, and the one after a reset, needs only the password Accept, and ask admins to add an email first; or require an email for roles that need two-step; or an administrator gives a one-time setup code
Should turning it on from the profile also need an emailed code? Someone who knows an optional user's password can sign in, turn it on with their own phone and lock the owner out Accept: the owner gets an email and an administrator resets it; or ask for an emailed code there too
When do passkeys come? A passkey is quicker than typing a code, and phishing cannot steal one After B6; on personal devices only