all repos — flounder @ 5936b12cab83cbcb94084cae0b7a63e391afc8c2

A small site builder for the Gemini protocol

Make fields required for login
alex wennerberg alex@alexwennerberg.com
Tue, 26 Jan 2021 19:45:08 -0800
commit

5936b12cab83cbcb94084cae0b7a63e391afc8c2

parent

b9e66276e699787e46e8e366d66e3c668447804f

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M templates/login.htmltemplates/login.html

@@ -2,11 +2,11 @@ {{template "header" .}}

<h1>🐟Login</h1> <form action="/login" method="post"> <p> - <label for="username">Username or Email</label> + <label for="username" required>Username or Email</label> <input id="username" name="username" size="27" type="text" value="" /> </p> <p> - <label for="password">Password</label> + <label for="password" required>Password</label> <input id="password" name="password" size="27" type="password" value="" /> </p> {{ if .Error }}