summaryrefslogtreecommitdiffstats
path: root/templates/login.html.template
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-09-20 19:54:13 -0700
committerRose Hogenson <rosehogenson@posteo.net>2025-09-20 19:54:13 -0700
commit34a2a69a28457f5b58c357cb19f091330cca6110 (patch)
tree983959c441b98d2d55de3af6ed0ef70b51b1aa12 /templates/login.html.template
parentAllow basic auth for manual save (diff)
downloadroseh.moe-34a2a69a28457f5b58c357cb19f091330cca6110.tar.zst
Don't use http basic auth
I think http basic auth kind of sucks
Diffstat (limited to 'templates/login.html.template')
-rw-r--r--templates/login.html.template13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/login.html.template b/templates/login.html.template
new file mode 100644
index 0000000..658d477
--- /dev/null
+++ b/templates/login.html.template
@@ -0,0 +1,13 @@
+{{define "head"}}<title>Login</title>{{end}}
+
+<p class="login-error">{{.Error}}</p>
+
+<section>
+ <div style="display:flex">
+ <form class="password-form" action="/login" method="post">
+ <label class="password-label" for="password">Enter password</label>
+ <input id="password" class="password" type="password" name="password">
+ <input type="hidden" name="redirect" value="{{.Redirect}}">
+ </form>
+ </div>
+</section>