The Express-session command used in the Set up passport seems to be deprecated

Tell us what’s happening:
I have passed the **Setup passport ** challenge but it seems the express-session is deprecated as declared by the console and this returns an error. Would changing the secret input to that given by Express-session site break future tests?

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36.

Challenge: Set up Passport

Link to the challenge:

I have done a quick research and found the answers to the above issue here. Basically the given command as given by freecodecamp was correct before it got deprecated since it had some memory leakage issues. However it is required to pass the tests but the app will return an error and therefore instead of using the .env file, add the secret word as a value within the call, this is only to be used for personal tests and not production. Read the documentation for more here