When using my own database and check user existed in postgres
I tried return this error if (result.rows.length > 0) return next(new ValidationError("user_exists", "User existed."));
but the login form simply shows vague message like
“There is an error. Please try again later”