diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-12-27 13:34:56 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-12-27 13:37:47 -0800 |
| commit | 2a9faab3de7648344dcc1973a71ada8125c0afa3 (patch) | |
| tree | a6fd29a8d4ea62aaf17fdf214535dbdbb1c00d50 /templates | |
| parent | 26235f94f87b01058cc06e69902f7fb30bffb22f (diff) | |
| download | roseh.moe-2a9faab3de7648344dcc1973a71ada8125c0afa3.tar.zst | |
Add Google Authenticator
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/login.html.template | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/templates/login.html.template b/templates/login.html.template index 8d1ec9b..8bdc613 100644 --- a/templates/login.html.template +++ b/templates/login.html.template @@ -6,7 +6,18 @@ {{end}} <form class="password-form" action="/login" method="post"> <input type="hidden" name="redirect" value="{{.Redirect}}"> - <label class="password-label" for="password">Enter password</label> - <input id="password" class="password" type="password" name="password" autofocus> + <table> + <tr class="password-form-row"> + <td><label class="password-label" for="password">Enter password</label></td> + <td><input id="password" class="password" type="password" name="password" autofocus></td> + </tr> + <tr class="password-form-row"> + <td><label class="password-label" for="auth">Google authenticator code</label></td> + <td><input id="auth" class="password" name="auth"></td> + </tr> + <tr> + <td></td> + <td><input type="image" class="submit" src="/static/point.webp" alt="Submit"></td> + </table> </form> </section> |
