aboutsummaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
authorJulian Hurst <julian.hurst@digdash.com>2024-09-05 18:26:22 +0200
committerJulian Hurst <julian.hurst@digdash.com>2024-09-05 18:26:22 +0200
commitbe9d1e3652a86a960477409ce61fd329bf8d22ed (patch)
tree92b036d66583ed6e9925a3c12f2fecf008f294a9 /templates/login.html
parent635b5da0768d912a7ddf8a3f1ddc6bb8f8865a45 (diff)
downloaddocspace-rootprefix.tar.gz
Support path prefixrootprefix
Diffstat (limited to 'templates/login.html')
-rw-r--r--templates/login.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/login.html b/templates/login.html
index 037879d..1b779d5 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -4,7 +4,7 @@
{{if .Data.Error}}
<p class="error">{{.Data.Error}}</p>
{{end}}
-<form action="/login" method="POST">
+<form action="{{.ROOT}}/login" method="POST">
<input required type="text" name="user" id="user" placeholder="Nom d'utilisateur"><br/><br/>
<input required type="password" name="pass" id="pass" placeholder="Mot de passe"><br/><br/>
<input type="submit" value="Connexion">