admin account/TOTP fixes

This commit is contained in:
ari melody 2025-10-21 21:00:54 +01:00
parent e5689ce950
commit ad50b9e4fa
Signed by: ari
GPG key ID: CF99829C92678188
14 changed files with 67 additions and 43 deletions

View file

@ -1,11 +1,12 @@
{{define "head"}}
<title>TOTP Setup - ari melody 💫</title>
<link rel="shortcut icon" href="/img/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/admin/static/admin.css">
{{end}}
{{define "content"}}
<main>
<h1>Two-Factor Authentication</h1>
{{if .Session.Error.Valid}}
<p id="error">{{html .Session.Error.String}}</p>
{{end}}