Redesign 1 bcrypt #226

Merged
bones7242 merged 156 commits from redesign-1-bcrypt into master 2017-10-30 15:55:14 +01:00
Showing only changes of commit b0d88263c7 - Show all commits

View file

@ -40,7 +40,7 @@ app.use((req, res, next) => { // custom logging middleware to log all incoming
});
// initialize passport
app.use(session({ secret: 'cats' }));
app.use(session({ secret: 'cats', resave: false, saveUninitialized: false }));
app.use(passport.initialize());
app.use(passport.session());
passport.serializeUser(serializeSpeechUser); // takes the user id from the db and serializes it