diff options
Diffstat (limited to 'views/password.ejs')
| -rw-r--r-- | views/password.ejs | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/views/password.ejs b/views/password.ejs index f66b60b..8033aae 100644 --- a/views/password.ejs +++ b/views/password.ejs @@ -9,18 +9,22 @@ <body> <div class="background"></div> <div class="container"> - <img src="img/logo.png" alt="logo" width="200"> + <img src="/img/logo.png" alt="logo" width="200"> <h1>Change Password</h1> - <p>If you have issues changing your password, ask the server operator to change your password.</p> - <form method="post" action="/login"> - <label for="username">Username:</label> - <input type="text" id="username" name="username"> - <label for="password">Current Password:</label> - <input type="password" id="password" name="password"> - <button type="submit">Login</button> + <p>If you have issues changing your password, ask the server operator to reset your password.</p> + <form method="post" action="/password/change"> + <label for="currentpassword">Current Password:</label> + <input type="password" id="currentpassword" name="currentpassword"> + <label for="newpassword">New Password:</label> + <input type="password" id="newpassword" name="newpassword"> + <label for="newpassword2">Confirm New Password:</label> + <input type="password" id="newpassword2" name="newpassword2"> + <button type="submit">Change Password</button> </form> + <a href="/" class="button">Dashboard</a> <% if (typeof error !== 'undefined') { %> <div class="error"><%= error %></div> <% } %> + </div> </body> -</html>
\ No newline at end of file +</html> |
