A member who has lost their password can now be sent a link to set a new one. The link works once and lasts one hour, the member confirms the email address it was sent to, and saving the new password signs the account out everywhere.
What has changed on this site, in its database and in the scripts behind it, newest first. Older history is being filled in as it is reconstructed, and each entry says whether it was recorded at the time or rebuilt later.
Showing entries for topic user accounts. Show everything
A member who has lost their password can now be sent a link to set a new one. The link works once and lasts one hour, the member confirms the email address it was sent to, and saving the new password signs the account out everywhere.
The site owner can send an account a one-hour, single-use password reset link from the user accounts page. Setting a new password ends every existing session for that account.
The sign-up and email confirmation pages now refuse malformed form input with a plain message instead of failing.
Emailed account links can now be password-reset links, and each reset link records which administrator issued it.
A user accounts page for the site owner lists every account by state, with Approve and Decline for accounts awaiting approval.
Approving an account creates its personal workspace, with no starter portfolio, and sends a short welcome email with the sign-in link. Declining removes an account that is still awaiting approval. The page is limited to administrators who can manage users.
Invited people can create an account from the sign-in page, choosing a display name with a live preview of how it will appear in the site navigation and a password of 15 to 64 characters.
The form explains that accounts are approved by hand. A repeat sign-up never changes an existing account, and the reply is the same whether or not the address is already registered.
New accounts confirm their email address from a link. Opening the link changes nothing; the person types the address the link was sent to and presses Confirm, so automatic link scanners cannot use it up.
Links last a limited time, are single-use, and are limited to one every few minutes and a handful a day per account. The account page shows a banner and a send button until the address is confirmed. When an account awaiting approval confirms its address, the owner receives one notice email.
User records can now note when an account's email address was confirmed by link, and when and by whom the account was approved. A new table holds the single-use confirmation links sent by email, storing only a fingerprint of each link, never the link itself.
Whether someone may sign in is still decided only by the account's status; confirmation and approval are recorded as events, never filled in after the fact, so existing accounts show them as not yet happened. Email addresses must now be stored in one consistent form (trimmed, lowercase, plain letters), which keeps two different addresses from being treated as the same one. A confirmation link only proves the address it was sent to.