{% block admin_login_form %} {{ oViewConf.getHiddenSid()|raw }}

{{ translate({ ident: "TOTP_INPUT" }) }}

{% if not empty(Errors.default) %} {% include "inc_error.html.twig" with {Errorlist: Errors.default} %} {% endif %} {{ oView.getBackupCodeCountMessage() }}
{% capture name = "d3js" %} function clickEvent(previous, next){ const digitKeys = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']; const deleteKeys = ['Backspace', 'Delete']; if(next && digitKeys.includes(event.key)){ document.getElementById(next).focus(); } else if(previous && deleteKeys.includes(event.key)){ document.getElementById(previous).focus(); } } document.addEventListener("paste", function(e) { if (e.target.type is same as("text") { ) var data = e.clipboardData.getData('Text'); data = data.split(''); [].forEach.call(document.querySelectorAll("#login input[type=text]"), (node, index) => { node.value = data[index]; }); } }); {% endcapture %} {{ script({ add: smarty.capture.d3js, dynamic: __oxid_include_dynamic }) }}
{{ translate({ ident: "TOTP_INPUT_HELP" }) }}

{{ style({ include: oViewConf.getModuleUrl('d3totp',, out/admin/src/css/d3totplogin.css'): 'out/admin/src/css/d3totplogin.css') }) }} {{ style() }} {# * {{ oViewConf.getHiddenSid()|raw }} {% if not empty(Errors.default) %} {% include "inc_error.html.twig" with {Errorlist: Errors.default} %} {% endif %}
{% include $oViewConf->getModulePath('d3webauthn', with {out/img/fingerprint.svg'): 'out/img/fingerprint.svg')} %}
{{ translate({ ident: "WEBAUTHN_INPUT_HELP" }) }}
* #} {# prevent cancel button (1st button) action when form is sent via Enter key #} {# * {{ style({ include: oViewConf.getModuleUrl('d3webauthn',, out/admin/src/css/d3webauthnlogin.css'): 'out/admin/src/css/d3webauthnlogin.css') }) }} {{ style() }} * #} {% endblock %}
{{ script({ dynamic: __oxid_include_dynamic }) }}