Download this file
| 1 | {{define "title"}}Add a passkey · Oficina{{end}} |
| 2 | {{define "bodyattrs"}} data-rpid="{{.Data.RPID}}" data-userid="{{.Data.UserID}}" data-username="{{.Data.UserName}}"{{end}} |
| 3 | {{define "content"}} |
| 4 | <h1>Add a passkey</h1> |
| 5 | <p>A passkey is an optional second step. Without one, your email link is |
| 6 | the only thing standing between someone with your inbox and your account.</p> |
| 7 | <button id="passkey-enrol" type="button" rst-btn="primary" data-passkey hidden>Add a passkey</button> |
| 8 | <p id="passkey-status" role="status"></p> |
| 9 | <noscript><p rst-callout><span rst-callout-body>Adding a passkey needs JavaScript. Everything else here does not.</span></p></noscript> |
| 10 | {{end}} |
| 11 | {{define "scripts"}}<script type="module" src="/static/passkey.js"></script>{{end}} |
| 12 | |