diff --git a/views/profile.ejs b/views/profile.ejs index 2ccb35a02067b51fc557d637047db6f2ae69d776..74cad49bf1eecb57d87357a73da7655e4c139814 100644 --- a/views/profile.ejs +++ b/views/profile.ejs @@ -3,12 +3,12 @@ <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Profile - <%= user.name %></title> + <title>Profile - <%= users.name %></title> <link rel="stylesheet" href="/css/profile.css"> </head> <body> <header> - <h1>Welcome, <%= user.name %>!</h1> + <h1>Welcome, <%= users.name %>!</h1> <nav> <a href="/">Home</a> <a href="/logout">Logout</a> @@ -18,8 +18,8 @@ <section class="profile-container"> <h2>Your Profile</h2> <div class="profile-card"> - <p><strong>Name:</strong> <%= user.name %></p> - <p><strong>Email:</strong> <%= user.email %></p> + <p><strong>Name:</strong> <%= users.name %></p> + <p><strong>Email:</strong> <%= users.email %></p> </div> <a href="/edit-profile" class="btn-edit">Edit Profile</a>