remix-auth-form icon indicating copy to clipboard operation
remix-auth-form copied to clipboard

Move `this.readFormData` within the `try`

Open markacola opened this issue 9 months ago • 1 comments

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.

markacola avatar May 15 '24 01:05 markacola