diff --git a/app/validation/auth/auth.js b/app/validation/auth/auth.js index 2e6c002..1ff58b4 100644 --- a/app/validation/auth/auth.js +++ b/app/validation/auth/auth.js @@ -30,7 +30,7 @@ module.exports = (req, res, next) => { }, (QueryError, count) => { if (count !== 1) { return next({ - status: 403, + status: 401, message: 'Your session is invalid. Please try sign in again.', error: [], });