Switched to local MongoDB
This commit is contained in:
1 parent
78ba14cc98
commit
8e83b6b8df
8 files changed
+40
-26
No files matched your search
@@ -13,7 +13,6 @@ function auth(req: ResponseAndUser, res: Response, next: NextFunction) {
|
||||
return res.status(401).json({ msg: 'No token, authorization denied' });
|
||||
}
|
||||
|
||||
console.log('auth middlewarwe')
|
||||
// Verify token
|
||||
try {
|
||||
jwt.verify(token, config.get('jwtSecret'), (error, decoded) => {
|
||||
|
||||
Reference in new issue
Block a user