Sha256: c85200239ab3db532d2269c96ea486764ff98aadff9bed52d67fdf5201bdb25f
Contents?: true
Size: 924 Bytes
Versions: 10
Compression:
Stored size: 924 Bytes
Contents
<% content_for :title, rodauth.webauthn_auth_page_title %> <% cred = rodauth.webauth_credential_options_for_get %> <%= form_with url: rodauth.webauthn_auth_form_path, method: :post, id: "webauthn-auth-form", data: { credential_options: cred.as_json.to_json, turbo: false } do |form| %> <%= form.hidden_field rodauth.login_param, value: params[rodauth.login_param] %> <%= 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", aria: { hidden: "true" } %> <div id="webauthn-auth-button"> <div class="form-group mb-3"> <%= form.submit rodauth.webauthn_auth_button, class: "btn btn-primary" %> </div> </div> <% end %> <%= javascript_include_tag rodauth.webauthn_auth_js_path %>
Version data entries
10 entries across 10 versions & 1 rubygems