Sha256: 3449734a17cd3cf1c0609f30ed50cf8bc5683e20d898e490ab94ff582918126a

Contents?: true

Size: 880 Bytes

Versions: 28

Compression:

Stored size: 880 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" 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

28 entries across 28 versions & 1 rubygems

Version Path
rodauth-2.26.1 templates/webauthn-setup.str
rodauth-2.26.0 templates/webauthn-setup.str
rodauth-2.25.0 templates/webauthn-setup.str
rodauth-2.24.0 templates/webauthn-setup.str
rodauth-2.23.0 templates/webauthn-setup.str
rodauth-2.22.0 templates/webauthn-setup.str
rodauth-2.21.0 templates/webauthn-setup.str
rodauth-2.20.0 templates/webauthn-setup.str
rodauth-2.19.0 templates/webauthn-setup.str
rodauth-2.18.0 templates/webauthn-setup.str
rodauth-2.17.0 templates/webauthn-setup.str
rodauth-2.16.0 templates/webauthn-setup.str
rodauth-2.15.0 templates/webauthn-setup.str
rodauth-2.14.0 templates/webauthn-setup.str
rodauth-2.13.0 templates/webauthn-setup.str
rodauth-2.12.0 templates/webauthn-setup.str
rodauth-2.11.0 templates/webauthn-setup.str
rodauth-2.10.0 templates/webauthn-setup.str
rodauth-2.9.0 templates/webauthn-setup.str
rodauth-2.8.0 templates/webauthn-setup.str