Major changes to the structure of pages to utilize the flex layout system.

This commit is contained in:
Wynne Crisman
2016-11-19 19:39:02 -08:00
parent 46ef9680c3
commit 4315418aa1
64 changed files with 3590 additions and 16015 deletions

View File

@@ -76,7 +76,7 @@ module.exports = function(passport, User) {
if(!user) {
return done(null, false, req.flash('loginMessage', 'User not found.'));
}
else if(!user.validPassword(password)) {
else if(!user.isPasswordValid(password)) {
return done(null, false, req.flash('loginMessage', 'Invalid password.'));
}
else {