aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorAlexander Kavon <me+git@alexkavon.com>2024-01-22 18:17:09 -0500
committerAlexander Kavon <me+git@alexkavon.com>2024-01-22 18:17:09 -0500
commit0d7693918d53fd658231bc478654b32513feac7a (patch)
treeec84b7bf026f8fefe947663e364d1120f513cf88 /ui
parent66d84b2b49f55e6c652816466a5c3b4202234134 (diff)
only return error for compareSecretToHash, update login form
Diffstat (limited to 'ui')
-rw-r--r--ui/pages/user/create.tmpl.html4
-rw-r--r--ui/pages/user/login.tmpl.html4
2 files changed, 2 insertions, 6 deletions
diff --git a/ui/pages/user/create.tmpl.html b/ui/pages/user/create.tmpl.html
index 68a9e93..7d18436 100644
--- a/ui/pages/user/create.tmpl.html
+++ b/ui/pages/user/create.tmpl.html
@@ -4,10 +4,6 @@
<h1>Create User</h1>
<form action="/u" method="POST">
<label>
- Email
- <input type="email" placeholder="email" name="email" />
- </label>
- <label>
Username
<input type="text" placeholder="username" name="username" />
</label>
diff --git a/ui/pages/user/login.tmpl.html b/ui/pages/user/login.tmpl.html
index d56f61a..408dd64 100644
--- a/ui/pages/user/login.tmpl.html
+++ b/ui/pages/user/login.tmpl.html
@@ -8,8 +8,8 @@
<input type="text" placeholder="username" name="username" />
</label>
<label>
- Password
- <input type="password" placeholder="password" name="password" />
+ Secret
+ <input type="password" placeholder="secret" name="secret" />
</label>
<button type="submit">Login</button>
</form>