Skip to content

Instantly share code, notes, and snippets.

@pepziman
pepziman / passport.js
Last active August 29, 2015 14:16 — forked from manjeshpv/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',