Other states

States the click-through cannot reach on its own: server failures, lockouts and Cloudflare Access. Each frame is the real component in that state. Wording follows Nova and Fortify where the screen is theirs.

1. Feature Flags: loading/admin/feature-flags

Loading feature flags…

2. Feature Flags: could not load/admin/feature-flags
3. A state change failsconfirm dialog

Turn on for the people on the list?

3 people get the Cashbook features on their next page load. Everyone else keeps LedgerVault without Cashbook.

The dialog stays open and shows its own error, so the error is not hidden behind it. The buttons stay on the saved state.

4. Adding a person failsAdd a person
  • Priya Raman priya@sbahowick.co.nz
5. Removing a person failsPeople on the list
  • Hemi Walker
    hemi.walker@sbapokeno.co.nz · Added by Sam Patel, 24 Nov 2026
    Could not remove Hemi Walker. They still have access. Try again.
6. Wrong email or password/admin/login

Welcome Back!

These credentials do not match our records.

The same text for an unknown email and a wrong password, so the page does not say which emails are admins.

7. Too many tries/admin/login (the code step has its own limit)

Welcome Back!

Too many login attempts. Please try again in 58 seconds.

7b. Too many tries at the code step/admin/two-factor-challenge

Two-factor Confirmation

Too many login attempts. Please try again in 42 seconds.

The code step has its own limit, separate from the password step.

8. No recovery code left/admin/two-factor-challenge

Two-factor Confirmation

The provided two factor recovery code was invalid.

Each recovery code works once. With no code and no phone, a developer runs admin:reset and sends a new one-time link (CAS-2614).

9. Admin commandsLaravel Cloud → Commands
$ php artisan admin:create jordan@coastlinecapital.ai "Jordan Lee" Admin created: Jordan Lee (jordan@coastlinecapital.ai). Send this one-time link in a private message. It works once, for 24 hours: https://app.ledgervault.co.nz/admin/welcome/7QmZ…r2Kd $ php artisan admin:reset jordan@coastlinecapital.ai Sign-in reset for Jordan Lee. Password and two-factor removed. Signed out everywhere. New one-time link (24 hours): https://app.ledgervault.co.nz/admin/welcome/Lp4c…9xWe $ php artisan admin:remove jordan@coastlinecapital.ai Admin removed: Jordan Lee. Signed out everywhere. Their LedgerVault (Xero) sign-in is not changed.

Not a screen: a developer runs these. The new link opens the one-time link page. Every command writes an audit row. All frames: concept “Admin accounts, option 1”.

10. A LedgerVault user who is not an adminapp.ledgervault.co.nz/admin on stage or production

Sign in · Atas

Get a login code emailed to you

Cloudflare Access stops them first. Its list of emails covers /admin/*, /nova-api/* and /nova-vendor/*. Each admin's email must be on it. Locally, with no Cloudflare, they see the Nova login: the Xero session does not count for the admin guard, even with is_admin.