Olivier Peaucelle

Results 1 comments of Olivier Peaucelle

it could be fixed by adding `return` in `auth.controller.js` ``` User.register(new User({ email: req.body.email }), req.body.password, (err, user) => { if (err) { const error = new APIError('Authentication error', httpStatus.UNAUTHORIZED)...