Sha256: 72bb4e9ac87d7f1b3a0037cf97ca37c1ceb74ea96462afa34c92120308d5932f

Contents?: true

Size: 887 Bytes

Versions: 10

Compression:

Stored size: 887 Bytes

Contents

<form method="post" class="rodauth" role="form" id="webauthn-setup-form" data-credential-options="#{h((cred = rodauth.new_webauthn_credential).as_json.to_json)}">
  #{rodauth.webauthn_setup_additional_form_tags}
  #{rodauth.csrf_tag}
  <input type="hidden" name="#{rodauth.webauthn_setup_challenge_param}" value="#{cred.challenge}" />
  <input type="hidden" name="#{rodauth.webauthn_setup_challenge_hmac_param}" value="#{rodauth.compute_hmac(cred.challenge)}" />
  <input class="rodauth_hidden d-none" aria-hidden="true" type="text" name="#{rodauth.webauthn_setup_param}" id="webauthn-setup" value="" />
  #{rodauth.render('password-field') if rodauth.two_factor_modifications_require_password?}
  <div id="webauthn-setup-button"> 
    #{rodauth.button(rodauth.webauthn_setup_button)}
  </div>
</form>
<script src="#{rodauth.webauthn_js_host}#{rodauth.webauthn_setup_js_path}"></script>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rodauth-2.37.0 templates/webauthn-setup.str
rodauth-2.36.0 templates/webauthn-setup.str
rodauth-2.34.0 templates/webauthn-setup.str
rodauth-2.33.0 templates/webauthn-setup.str
rodauth-2.32.0 templates/webauthn-setup.str
rodauth-2.31.0 templates/webauthn-setup.str
rodauth-2.30.0 templates/webauthn-setup.str
rodauth-2.29.0 templates/webauthn-setup.str
rodauth-2.28.0 templates/webauthn-setup.str
rodauth-2.27.0 templates/webauthn-setup.str