aboutsummaryrefslogtreecommitdiff
path: root/views/password.ejs
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-01-23 15:52:49 -0500
committerAndrew Lee <andrew@alee14.me>2025-01-23 15:52:49 -0500
commita1b29429b53f0c97a014403534312596da0f4cc1 (patch)
tree8d99d064fa65ddb0200cb763a4c7314f8730f46f /views/password.ejs
downloadbnbaim-auth-a1b29429b53f0c97a014403534312596da0f4cc1.tar.gz
bnbaim-auth-a1b29429b53f0c97a014403534312596da0f4cc1.tar.bz2
bnbaim-auth-a1b29429b53f0c97a014403534312596da0f4cc1.zip
Initial commit
Diffstat (limited to 'views/password.ejs')
-rw-r--r--views/password.ejs26
1 files changed, 26 insertions, 0 deletions
diff --git a/views/password.ejs b/views/password.ejs
new file mode 100644
index 0000000..94f42f1
--- /dev/null
+++ b/views/password.ejs
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel="stylesheet" href="/css/style.css">
+ <title>bnbAIM Change Password</title>
+</head>
+<body>
+ <div class="background"></div>
+ <div class="container">
+ <h1>Change Password</h1>
+ <form method="post" action="/password/change">
+ <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>