Sha256: 0fa650ecd7cdc587bac31d64508494beece52d9ccd73e23d2ec72e3874b54cb1

Contents?: true

Size: 843 Bytes

Versions: 8

Compression:

Stored size: 843 Bytes

Contents

<form method="post" action="#{rodauth.webauthn_login_path}" class="rodauth" role="form" id="webauthn-login-form" data-credential-options="#{h((cred = rodauth.webauthn_credential_options_for_get).as_json.to_json)}">
  #{rodauth.webauthn_auth_additional_form_tags}
  #{rodauth.csrf_tag(rodauth.webauthn_login_path)}
  <input type="hidden" name="#{rodauth.webauthn_auth_challenge_param}" value="#{cred.challenge}" />
  <input type="hidden" name="#{rodauth.webauthn_auth_challenge_hmac_param}" value="#{rodauth.compute_hmac(cred.challenge)}" />
  <input class="rodauth_hidden d-none" aria-hidden="true" type="text" name="#{rodauth.webauthn_auth_param}" id="webauthn-auth" value="" />
  #{rodauth.button(rodauth.webauthn_auth_button, class: "d-none")}
</form>
<script src="#{rodauth.webauthn_js_host}#{rodauth.webauthn_autofill_js_path}"></script>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rodauth-2.38.0 templates/webauthn-autofill.str
rodauth-2.37.0 templates/webauthn-autofill.str
rodauth-2.36.0 templates/webauthn-autofill.str
rodauth-2.34.0 templates/webauthn-autofill.str
rodauth-2.33.0 templates/webauthn-autofill.str
rodauth-2.32.0 templates/webauthn-autofill.str
rodauth-2.31.0 templates/webauthn-autofill.str
rodauth-2.30.0 templates/webauthn-autofill.str