Help Advanced Node and Express - How to Use Passport Strategies

hi everyone, i dont know whats wrong in my code
it passes all the test but its not working as expected

the freecodecamp challenge page says

Now at this point if you enter a username and password in the form, it should redirect to the home page / and in the console of your server should be ‘User {USERNAME} attempted to log in.’ since we currently cannot login a user who isn’t registered.

it redirects to home as expected but in the console it shows this error 
Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure favicon ''. This request has been blocked; the content must be served over HTTPS.

instead of 'User {USERNAME} attempted to log in.

here is my glitch project



Not sure what you are expecting. It does indeed display a warning in the console. But what you are looking for (“User {USERNAME} attempted to log in”) is not logged on the client, but on the server console. So, if you open the logs in glitch, you should be able to see that message.

1 Like

Ohh, Thank you so much :slightly_smiling_face: