extends ../partials/layout.pug block title |Icy Network | Two-factor authentication block body include ../partials/logo.pug div.container div.center-box h1 Activate two-factor authentication if message.text if message.error .alert.alert-danger span #{message.text} else .alert.alert-success span #{message.text} div.qr-preview img(src=qrcode) form(method="post",autocomplete="off") div.form-container input#csrf(type="hidden", name="csrf", value=csrf) label.form-label(for="code") Code from authenticator app input.form-control#code(type="text", name="code", autofocus, placeholder="xxxxxx") button.btn.btn-primary(type="submit") Activate