This commit is contained in:
2025-10-18 18:34:06 +02:00
parent 5dfffcbcb7
commit 2c9da94143
3 changed files with 2 additions and 3 deletions

View File

@@ -38,7 +38,6 @@ func adminLoginHandler(w http.ResponseWriter, r *http.Request) {
Value: base64.StdEncoding.EncodeToString([]byte(username + ":" + hashPassword(password))),
Path: "/admin/",
HttpOnly: true,
MaxAge: 3600,
})
http.Redirect(w, r, "/admin/", http.StatusSeeOther)
}

View File

@@ -211,7 +211,7 @@ func qrHandler(w http.ResponseWriter, r *http.Request) {
}
CipherTemplateData := CipherTemplateS{
Order: uint(cipherID),
Order: uint(order),
Assignment: template.HTML(assignment),
HelpText: "",
FinalClue: "",

View File

@@ -17,7 +17,7 @@
</tr>
{{range .QRs}}
<tr>
<td>{{.URL}}</td>
<td><a href="{{.URL}}">{{.URL}}</a></td>
<td>{{.Position}}</td>
<td>{{.GPS}}</td>
<td>