resonatecoop / api

The one Resonate API to rule them all

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix error pages on log in

simonv3 opened this issue · comments

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 throws 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