Major changes to the structure of pages to utilize the flex layout system.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user