bastion 0.60.0
ci / personal-data (push) Successful in 4s
ci / test (push) Successful in 3m36s
ci / fuzz (push) Successful in 3m35s

This commit is contained in:
Privatae
2026-11-02 00:10:58 +00:00
parent 4a5c310482
commit 4f8285ef18
100 changed files with 11537 additions and 840 deletions
+4
View File
@@ -119,6 +119,10 @@
<input type="hidden" name="family" value="{{.Name}}">
{{if .SwitchedOff}}
<input type="hidden" name="off" value="0">
{{/* hx-preserve: this page is swapped every 10s and a half-typed code
must survive it. Turning back on takes the owner's code. */}}
<input class="code" id="on-code-{{$h.Host}}-{{.Name}}" hx-preserve="true" name="code" inputmode="numeric"
pattern="[0-9]*" autocomplete="one-time-code" placeholder="your code" aria-label="Your code">
<button class="go" type="submit">Turn back on</button>
{{else}}
<input type="hidden" name="off" value="1">