diff options
| author | Andrew Lee <andrew@alee14.me> | 2024-12-28 13:09:27 -0500 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2024-12-28 13:09:27 -0500 |
| commit | b2748a5c55255014d5d5ea02fec38c4125e08e25 (patch) | |
| tree | bd83292e4eb5be716ed32d92bf8d9e0fd2138616 /views/password.ejs | |
| parent | 39cbc8c286227eca935248ad9237d66fa6f45f6e (diff) | |
| download | freeso-discord-auth-b2748a5c55255014d5d5ea02fec38c4125e08e25.tar.gz freeso-discord-auth-b2748a5c55255014d5d5ea02fec38c4125e08e25.tar.bz2 freeso-discord-auth-b2748a5c55255014d5d5ea02fec38c4125e08e25.zip | |
Ability to change password; Sim time on dashboard
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> |
