flarum / issue-archive

0 stars 0 forks source link

Registration, Login controllers are misleading #38

Open askvortsov1 opened 3 years ago

askvortsov1 commented 3 years ago

These are located in the forum namespace, but return a JSON-formatted response (and JSON-formatted validation errors). However, the error handler for their pipeline uses the View/Whoops formatter, so if they run into issues, errors will be returned in a way unexpected by the frontend.

We should refactor these so that either: