summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2026-10-16 18:08:14 -0700
committerRose Hogenson <rosehogenson@posteo.net>2026-10-16 20:08:24 -0700
commit8bdf9024e0274e627d0fa62d4caedc1ce29481c4 (patch)
treef670ac3c950e283b848a6497945c1546d0ef1c62 /templates
parentServe files from a certain directory on root (diff)
downloadroseh.moe-8bdf9024e0274e627d0fa62d4caedc1ce29481c4.tar.zst
Require authenticator code every 24 hours
Diffstat (limited to 'templates')
-rw-r--r--templates/login.html.template2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/login.html.template b/templates/login.html.template
index a64f3c6..43f91fd 100644
--- a/templates/login.html.template
+++ b/templates/login.html.template
@@ -25,9 +25,11 @@
{{- end}}
<form class="password-form" method="post">
<table>
+ {{- if not .Quick}}
<tr class="password-form-row">
<td><label class="password-label" for="password">Enter password</label>
<td><input id="password" class="password" type="password" name="password" autofocus>
+ {{- end}}
<tr class="password-form-row">
<td><label class="password-label" for="auth">Google authenticator code</label>
<td><input id="auth" class="password" name="auth">