mirror of
https://github.com/Komediruzecki/token-circles.git
synced 2026-10-20 09:46:43 +02:00
The sign-in screen and dialog, the sign-in code steps, the two-factor challenge and its enroll and disable steps, the new-password screen and the support form move onto the form kit from #602: a refused entry is said under the field it is about, with the cursor there, and nothing is sent. A wrong address or password stays one message for the whole form and marks neither field. - shared/signInSchema.ts holds the address format, a new password's 8 characters and a support message's length. The routes answer a refused field with 400 { error, fields }, and a code that does not sign in with 401 at code. - Every field has a label and takes its look from a class, so a marked field shows the kit's danger border. The sign-in fields keep the ids password managers use. - The captcha goes through one gate: a send waits for its token, and each token is used for one request. - The reset page says a link is invalid only when the Worker says so. A check that failed says so, with Try again. - A mail call gives up after 10 seconds. - Migration 0032 adds a column to login_codes. A sign-in code requested before the deploy stops working, and the person asks for a new one. Slice 6 of 6 in docs/plans/2026-10-07-form-errors.md.