mirror of https://github.com/xfarrow/blink
add comment
This commit is contained in:
parent
18be287a04
commit
11b4cfba47
|
@ -26,6 +26,7 @@ function generateToken(person_id) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the token is valid, store the decoded data in the request object
|
// If the token is valid, store the decoded data in the request object
|
||||||
|
// req.jwt will contain the payload created in generateToken
|
||||||
req.jwt = decoded;
|
req.jwt = decoded;
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue