{% embed 'partials/login.html.twig' with {title:'Grav 2-Factor Authentication', redirect: admin.session.redirect} %} {% block integration %} {% endblock %} {% block form %} {% set form = forms['login-twofa'] %} {% for field in form.fields %} {% if field.type %}