mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
The password+TOTP login drove Stalwart's structured login (`/api/auth`, then `/auth/token` with PKCE) inline. Linking the mobile app needs the same exchange to mint a phone's own grant, so it now lives in `lib/auth/stalwart-password-login.ts` and the route only maps its result to the responses it always gave.