···1919 {{end}}
20202121 <form action="/admin/account/totp-confirm?totp-name={{.NameEscaped}}" method="POST" id="totp-setup">
2222+ {{if .QRBase64Image}}
2223 <img src="data:image/png;base64,{{.QRBase64Image}}" alt="" class="qr-code">
23242425 <p>
···2930 <p>
3031 If the QR code does not work, you may also enter this secret code:
3132 </p>
3333+ {{else}}
3434+ <p>
3535+ Paste the below secret code into your authentication app or password manager,
3636+ then enter your 2FA code below:
3737+ </p>
3838+ {{end}}
32393340 <p><code>{{.TOTP.Secret}}</code></p>
3441