log jwt token
All checks were successful
All checks were successful
This commit is contained in:
parent
dd981ec7ee
commit
25b9388f29
@ -13,6 +13,8 @@ export default function authHandler(req: Request, response: Response, next: Next
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log("token", token);
|
||||||
|
|
||||||
const authService = Container.get(AuthService);
|
const authService = Container.get(AuthService);
|
||||||
authService.verifyAccessToken(token, (err, userPayload) => {
|
authService.verifyAccessToken(token, (err, userPayload) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user