Files
NB 314ea24ec9 Let the Chrome extension sign in with an approval in the app (#21646)
* Let the Chrome extension sign in with an approval in the app

The extension can ask to sign in by email. The desktop app, the web client
and the phone app show the request over account live. The user taps the
number that the extension shows. A wrong number blocks the request. The user
can deny the request or snooze new requests (1 h, 8 h, 24 h or off), and turn
them back on in Settings > Profile. When one device answers a request, it
closes on the other devices.

The account service stores the requests in D1 (migration 0099) and limits
start per IP and per email, shown requests per account and answers per user.

* Keep an approved extension sign-in when the code cannot be issued

When the one-time code insert fails, the poll now clears its claim, so the
next poll can issue the code. The desktop and web prompt closes an expired
request when the list cannot load. The Settings row of a snooze hides when the
snooze ends, and the web client reloads it on the live notice.

* Do not export the extension sign-in platform helper

Knip reports it as an unused export: only its own file uses it.
2026-12-02 18:22:49 +01:00
..