Sha256: f5e3d89e96a0fd7cf130f806f67b09abcf3846294c67f883c84519ec1dd1c24e
Contents?: true
Size: 715 Bytes
Versions: 17
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: "d-none", aria: { hidden: "true" } %> <%= form.submit rodauth.webauthn_auth_button, class: "d-none" %> <% end %> <%= javascript_include_tag rodauth.webauthn_autofill_js_path, extname: false %>
Version data entries
17 entries across 17 versions & 2 rubygems