Admin accounts — option 1: commands

A developer with Laravel Cloud access runs a command. The command prints a one-time link; the developer sends it to the person in a private message. LedgerVault sends no email. Nova shows no “Forgot your password?” link. Option 2 uses the same one-time link page; only who makes the link differs.

1. Create an adminLaravel 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:create jordan@coastlinecapital.ai "Jordan Lee" jordan@coastlinecapital.ai is an admin already. Use admin:reset to give them a new link. $ php artisan admin:create jordan@coastlinecapital "Jordan Lee" "jordan@coastlinecapital" is not a valid email address.

The same command makes the very first admin, because Nova has no sign-up. Any email domain works. The email must also be on the Cloudflare Access list for /admin, or the person cannot open the link.

2. The new admin opens the link/admin/welcome/{token}

Set your admin password

Admin login for
Jordan Lee · jordan@coastlinecapital.ai

At least 12 characters.

Next: two-factor setup (shared sign-in screens, frames 7 to 10). Behind Cloudflare Access, like the rest of /admin.

2b. Password errors/admin/welcome/{token}

Set your admin password

Admin login for
Jordan Lee · jordan@coastlinecapital.ai

The password must be at least 12 characters.

The password confirmation does not match.

If the link runs out while the form is open, Save goes to frame 3.

3. Used or old link/admin/welcome/{token}

This link does not work

It was used already, or it is more than 24 hours old. Ask a developer for a new link.

4. Forgot the password, or lost the phone with no recovery codesLaravel Cloud → Commands
$ 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

The person then repeats frame 2 and sets up two-factor again. With a recovery code left, they sign in with it instead (shared sign-in, frame 6) and need no developer.

5. Remove an adminLaravel Cloud → Commands
$ php artisan admin:remove jordan@coastlinecapital.ai Admin removed: Jordan Lee. Signed out everywhere. Their LedgerVault (Xero) sign-in is not changed. $ php artisan admin:remove sam@coastlinecapital.ai Sam Patel is the last admin. Create another admin first.
What this option meanssummary

Good: no Admins page in Nova (only the one-time link page, which option 2 needs too); no email; nothing for Octane to keep between requests (the CAS-2493 problem); every change is in Laravel Cloud’s command log.

Cost: an admin who is locked out waits for a developer with Laravel Cloud access; other admins cannot help. A forgotten password also resets two-factor. The one-time link sits in the command log for its 24 hours.