Skip to main content

Module signups

Module signups 

Source
Expand description

Sign-ins made on a sign-up form (spec SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md §6.2): the password srv generates for a new-password field is a login entry of its own before the page sees it, tagged UNCONFIRMED until the form is sent with it. It never joins another entry, even one for the same user name: a sign-up the site refuses must not replace a password that works.

Constants§

FROM_INCOGNITO
On a password an agent made in an Incognito tab, which keeps no sign-ins: it is kept in Personal, since the account it opened is real (spec §9.2).
UNCONFIRMED
On a sign-in made on a sign-up form that hasn’t been sent with it yet.

Functions§

confirm
A sign-up form was sent with password as username: if that is the password made for entry id, which is still unconfirmed, the entry records the user name sent and loses its tag. False for any other password (the person typed their own), or an entry already confirmed or gone.
confirm_sent
A sign-up form of s was sent with password as username: confirm the unconfirmed entry made for s with exactly that password, if there is one. Found in the Vault, not in memory, so a form sent after an srv restart, or long after the password was made, still confirms it. Returns its id.
create
Keeps password, made for a sign-up on s, as a new entry with the user name typed so far. Returns its id and label.
create_tagged
create, with one more tag.
replace
The site refused the password made for entry id and the person asked for another: the new one replaces it, the refused one kept as a previous version. Only while the entry is still unconfirmed; None otherwise, and the caller makes a new entry.