Files
accountkit/test
CatoandClaude 8acc859843 feat(auth): confirming an address no longer blocks sign-in (#50)
Every bitbaum product needs people in and using it with as little friction as
possible. With mail configured, AccountKit used to refuse a password sign-in
until the address was confirmed, and a first-password claim gave no session
until the link was followed.

Now, by default, a sign-up is signed in at once and is mailed a confirmation
link. An unconfirmed account signs in, and a claim signs the person in and
mails the link. Following the link still sets emailVerified, which a product
reads to reserve powers (staff, payouts) for confirmed addresses.

A product that needs the wall opts in with emailConfirmation:
"before-sign-in" (server, Next runtime, and signInMethods' third argument).
It applies only with mail, as before.


Claude-Session: https://claude.ai/code/session_019MDtmuvj9Cecd7DR2Nbirb

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-01 06:32:57 +01:00
..