← Changelog
FixedApps

Web app sign-in: limits that hold under parallel guesses, a cookie other apps can't set, and link sign-in that ends a squatter's access

Sign-in limits now count each password check before it runs, so guesses sent all at once are held to the limit, and count per account whatever email comes with it. New web apps keep their session in a __Host- cookie that a page of another app on inferencebureau.app can't set.

Signing in by emailed link to an account whose email was never confirmed now clears its password and other sessions, as linking Google or GitHub already did: whoever made the account with someone else's address loses it to the address's owner.

Apps made before keep their `session` cookie and their sign-in-by-link action; Preview as sets both cookie names. To take the new action and cookie, copy `api/models/user/actions/signInWithLink.ts` and `COOKIE` in `web/lib/auth.ts` from a new app (renaming the cookie signs everyone out once). The limits apply to every app already.

More in Sign-in limits.