Wednesday, 24 May 2017

node js passport js options.failureFlash is undefined

couple of days ago i post a question. This is it. So i tried to use this cod with my program and when i fill all the fields and pressed submit it logs a console with an error i'll show the error below

F:\node-js-test-projects\blog-with-users\config\passport.js:30
                    var opt = options.failureFlash;
                                     ^

ReferenceError: options is not defined
    at F:\node-js-test-projects\blog-with-users\config\passport.js:30:21
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
[nodemon] app crashed - waiting for file changes before starting...

can you please anybody tell me whats wrong with it and help me to fix this error. i hope so you'll help me to continue my studies

thank you



via Chathura Buddika

No comments:

Post a Comment