flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 5936b12cab83cbcb94084cae0b7a63e391afc8c2
parent b9e66276e699787e46e8e366d66e3c668447804f
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Tue, 26 Jan 2021 19:45:08 -0800

Make fields required for login

Diffstat:
Mtemplates/login.html | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/login.html b/templates/login.html @@ -2,11 +2,11 @@ <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 }}