jwt-project icon indicating copy to clipboard operation
jwt-project copied to clipboard

how to get req.user accessable across in controller

Open kennyendowed opened this issue 3 years ago • 2 comments

how to I make req. user available globally or req. token available in controller or in indexjs

kennyendowed avatar Dec 21 '21 17:12 kennyendowed

Add req and res as a parameter in your function.

@kennyendowed

Olanetsoft avatar Dec 22 '21 23:12 Olanetsoft

@kennyendowed fixed ?

Olanetsoft avatar Jan 27 '22 12:01 Olanetsoft