Closed IanVS closed 9 years ago
When an unknown user tries to log in, a badRequest is sent. However, the code continues to execute and errors out. It seems each res.badRequest should be replaced with return res.badRequest
res.badRequest
return res.badRequest
See: https://github.com/Globegitter/sane-auth/blob/master/generate/templates/server/api/controllers/AuthController.js#L27-L48
fixed now
When an unknown user tries to log in, a badRequest is sent. However, the code continues to execute and errors out. It seems each
res.badRequest
should be replaced withreturn res.badRequest
See: https://github.com/Globegitter/sane-auth/blob/master/generate/templates/server/api/controllers/AuthController.js#L27-L48