This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// config/passport.js | |
// ----------------------------------------------------------------------- | |
// Original script from RisingStack nodehero-authentication tutorial | |
// https://blog.risingstack.com/node-hero-node-js-authentication-passport-js/ | |
// Mysql conversion by manjeshpv | |
// https://gist.github.com/manjeshpv/84446e6aa5b3689e8b84 | |
// My version minimizes changes needed to the original passport.js file | |
// Revision Date: 1/4/17 | |
// ----------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// app/models/user-mysql.js | |
// ----------------------------------------------------------------------- | |
// Original script from RisingStack nodehero-authentication tutorial | |
// https://blog.risingstack.com/node-hero-node-js-authentication-passport-js/ | |
// Mysql conversion by manjeshpv | |
// https://gist.github.com/manjeshpv/84446e6aa5b3689e8b84 | |
// My version minimizes changes needed to the original passport.js file | |
// Revision Date: 1/4/17 | |
// ----------------------------------------------------------------------- |