Changes to login panes
This commit is contained in:
@@ -133,7 +133,7 @@ app.get('/', (req, res) => {
|
|||||||
// Check if mathc returns no data
|
// Check if mathc returns no data
|
||||||
if (!match) {
|
if (!match) {
|
||||||
// Render the login page with the message parameter
|
// 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
|
// Save user information in the session variable
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
#user {
|
#user {
|
||||||
width: 25px;
|
width: 25px;
|
||||||
|
cursor: pointer;
|
||||||
transition: width 0.3s ease; /* Adding transition for smooth effect */
|
transition: width 0.3s ease; /* Adding transition for smooth effect */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user