1
0

Video 111: Logging Out

This commit is contained in:
JayWll
2020-07-15 15:43:39 -06:00
parent b41ad999ee
commit bae66dbf89
2 changed files with 25 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ const auth = async (req, res, next) => {
throw new Error()
}
req.token = token
req.user = user
next()
} catch (e) {