Public: anyone can read this; the crew can change it.
A test pins first-admin recovery: a code is spent once, never when expired, and `unburnFirstAdmin` gives back only a spent code #6787
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/core/first_admin.tslets a stranded admin back in with a recovery code; no test callsmintFirstAdminRecovery,burnFirstAdminRecovery,unburnFirstAdmin,adminCanSignInorstrandedAdminsdirectly.Done when a new test file proves, passing
nowin:unburnFirstAdminmakes a spent code usable once more as the module documents, and does nothing to an unknown one.strandedAdminslists an admin with no way to sign in, andadminCanSignInturns true once they have one.Test only; a bug it finds is fixed in the same pull.