Changes to login panes
This commit is contained in:
@@ -133,7 +133,7 @@ app.get('/', (req, res) => {
|
||||
// Check if mathc returns no data
|
||||
if (!match) {
|
||||
// Render the login page with the message parameter
|
||||
return res.render('pages/login', { message: 'Password does not match' });
|
||||
return res.render('pages/home', { message: 'Password does not match' });
|
||||
}
|
||||
|
||||
// Save user information in the session variable
|
||||
|
||||
Reference in New Issue
Block a user