Session: express-session: req.secret deprecated

Created on 9 Dec 2016  路  2Comments  路  Source: expressjs/session

Most helpful comment

Right, it is deprecated to rely on req.secret; you need to provide the secret option. If it happens when you're using a variable, than your variable is likely undefined or null or something and not a string.

All 2 comments

Right, it is deprecated to rely on req.secret; you need to provide the secret option. If it happens when you're using a variable, than your variable is likely undefined or null or something and not a string.

ups! you're right! thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nhitchins picture nhitchins  路  20Comments

renehauck picture renehauck  路  16Comments

alex55132 picture alex55132  路  22Comments

gk0us picture gk0us  路  18Comments

Jpunt picture Jpunt  路  17Comments