Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

0xFE9D4A C0dekid

🎯
Focusing
Block or report user

Report or block C0dekid

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@C0dekid
C0dekid / passport.js
Created Feb 25, 2018
Passport.js using MySQL for Authentication with Express
View passport.js
// config/passport.js
// load all the things we need
var LocalStrategy = require('passport-local').Strategy;
var mysql = require('mysql');
var connection = mysql.createConnection({
host : 'localhost',
user : 'root',
You can’t perform that action at this time.