Advanced Node and Express - How to Use Passport Strategies

Tell us what’s happening:
Describe your issue in detail here.
i can not pass A POST request to /login should correctly redirect to /.
the console logs the error:-
Error: Unknown authentication strategy "local"
Your project link(s)

solution: boilerplate-advancednode (1) - Replit

Your browser information:

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

Challenge: Advanced Node and Express - How to Use Passport Strategies

Link to the challenge:

I may be wrong but I think that the problem is that your new LocalStrategy code block is nested incorrectly, within the deserialize routine. If you move the two sets of closing brackets highlighted below above the LocalStrategy, to close off the deserialize routine, I think your code should pass.

silly mistake,thanks.