2 messages · Page 1 of 1 (latest)
Hello, here is my problem, i return an instance of connected user in req.user from jwtStrategy.
Then i get it from a customdecorator that simply return req.user. But when i modify something in user my modification doens't propagate to req.user, which is normaly the same object instance. Why and how to change it ?
Where/how do you modify the user object of req.user?