Skip to main content

Sign-in and password reset: the rules

For: product owners, BAs and business admins. The rule: the sign-in page tells people what went wrong without telling a stranger which names exist, and a forgotten password is replaced by the person who reads that account's email, not by someone else.

Until October 2026 the sign-in page said Invalid username or password for every failure, even when the server was down or the name was locked. There was no Remember me, so closing the browser on a shared till left it signed in. A forgotten password needed an administrator, who then knew the new one. B3 rebuilt the sign-in page and added Remember me; B4 added Forgot password? by email.

How a reset link works

The rules

Signing in

  1. The page says what happened. A wrong password, a locked name, no connection, a server problem and a switched-off account each have their own message.
  2. It never says which names exist. An unknown name and a wrong password get the same answer. A switched-off account is told so only after its right password.
  3. A lock belongs to one name. While a name is locked, the page counts down for that name only. Someone else can still sign in on the same till.
  4. Remember me is off by default.
    • Not ticked: closing the browser signs out.
    • Ticked: the sign-in survives closing the browser, still ending after 14 hours without use or 7 days at most (B2).
    • Tick it only on a device one person uses.

Forgotten passwords

  1. By email only, for now. The person types their username or email address on Forgot password?.
  2. The page always says "Check your email", whether or not an account was found.
  3. A link goes only to an account that can sign in and has an email address. More than five accounts sharing one email address get none.
  4. A link works once, for 30 minutes, and only the newest one. It also stops working if the password is changed another way or the account is switched off.
  5. Limits. One link a minute and five a day per account; ten requests an hour from one network.
  6. Setting a new password:
    • signs the account out on every device;
    • clears a sign-in lock on the name;
    • sends a your password was changed email;
    • does not sign the person in. They sign in with the new password, and two-step sign-in still asks for its code.
  7. The link opens the shop's own address, from the server's settings, never from anything in the request.
  8. Administrators can still set a password with Reset Password on the user list, for staff with no email address. It signs them out everywhere and clears the lock too.
Before After
One message for every failure One message per cause
A switched-off account answered faster and differently It answers like any wrong password until the password is right
Closing the browser left the till signed in It signs out, unless Remember me was ticked
A forgotten password needed an administrator The person resets it from their email
The administrator knew the new password Only the person does

Decisions

Date Decision Reason
2026-10-06 Reset by email only; keep the channel pluggable Most staff have email; WhatsApp can be added later without changing the rules
2026-10-13 Check the password before the account's status A different answer for switched-off accounts revealed which names exist
2026-10-13 Remember me off by default Many shops share a till; staying signed in must be a choice
2026-10-13 The same answer whatever was typed on Forgot password? Otherwise the page tells anyone which names and email addresses have accounts
2026-10-13 A reset does not sign the person in Reading an email should not be enough to be inside the shop; the new password, and two-step where it is on, still have to be used
2026-10-13 A reset signs out every device If someone else knew the old password, they lose access at once
2026-10-23 The link's address comes from the server's settings The request's own headers are the caller's to write; a link built from them could point anywhere

Open questions

Question Why it matters Options
Should an unticked Remember me end sooner? A browser set to Continue where you left off keeps the sign-in across a restart, for up to 14 hours without use Accept; or a 1-hour idle limit for sign-ins without Remember me; or ask "Who uses this device?" at sign-in, as the B3 design proposed
What about staff with no email address? They cannot reset their own password; an administrator must, and then knows it Accept; or add WhatsApp as a second channel; or ask them to change it after an administrator's reset