Something went wrong. Try again.
AtAuth
Something went wrong. Try again.
fix: use req.is('json') instead of req.accepts('json') for content negotiation
req.accepts('json') matches the wildcard */* in browser form submissions, causing native form POSTs to get JSON responses instead of 302 redirects. req.is('json') checks the request Content-Type, which correctly differentiates fetch (application/json) from native forms (x-www-form-urlencoded). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author Bryan Brooks Co-author Claude Opus 4.6 Date (Feb 19, 2026, 3:53 AM UTC) Commit
Copy SHA
Parent b74263e1 b74263e1a03f82111ef41bd4150b51b3e82a0ac2