Remove unused statement

This commit is contained in:
Moe Poi ~ 2021-11-17 15:25:21 +07:00
parent d43be73f0c
commit 430eea9777

View file

@ -39,15 +39,10 @@ router.route('/login')
companyName : 'SALAH',
error : 'Please confirm your email'
});
} else if (data[0] == 401){
res.render('pages/login', {
companyName : 'SALAH',
error : 'Invalid Credential'
});
} else {
res.render('pages/login', {
companyName : 'SALAH',
error : 'Something went wrong !!!'
error : 'Invalid Email or Password'
});
}
});