Sha256: 341e4577162bdb3594a53819323827cbaa2cf7ebd3822afb16f7fabcc02513ae
Contents?: true
Size: 715 Bytes
Versions: 101
Compression:
Stored size: 715 Bytes
Contents
<% cred = rodauth.webauthn_credential_options_for_get %> <%= form_with url: rodauth.webauthn_login_path, method: :post, id: "webauthn-login-form", data: { credential_options: cred.as_json.to_json, turbo: false } do |form| %> <%= form.hidden_field rodauth.webauthn_auth_challenge_param, value: cred.challenge %> <%= form.hidden_field rodauth.webauthn_auth_challenge_hmac_param, value: rodauth.compute_hmac(cred.challenge) %> <%= form.text_field rodauth.webauthn_auth_param, value: "", id: "webauthn-auth", class: "hidden", aria: { hidden: "true" } %> <%= form.submit rodauth.webauthn_auth_button, class: "hidden" %> <% end %> <%= javascript_include_tag rodauth.webauthn_autofill_js_path, extname: false %>
Version data entries
101 entries across 101 versions & 2 rubygems