Fix error pages on log in
simonv3 opened this issue · comments
Psi commented
Currently when logging in the user is shown a JSON blob error when their account doesn't exist, rather than an error toast.
Fix that!
Some more details:
the problem is that in auth/routes.js
the interaction/:uid/login
route throw
s errors, where it should be redirecting to the login page with an error message.
You can seen example of how it should work in the /register
route