remix-auth-form
remix-auth-form copied to clipboard
Move `this.readFormData` within the `try`
Currently, If the request is an invalid POST then this will fail with Could not parse content as FormData
, resulting in an uncatchable 500 error returned to the client.
This change causes errors in the request parsing to instead route to the this.failure
function.