Sha256: f541e232cff8953aaeea3846f06aa8b7ec40c94d83e441ec9385719fe5a71b9c
Contents?: true
Size: 803 Bytes
Versions: 5
Compression:
Stored size: 803 Bytes
Contents
<%% cred = <%= rodauth %>.webauth_credential_options_for_get %> <%%= form_tag <%= rodauth %>.webauthn_auth_form_path, method: :post, id: "webauthn-auth-form", data: { credential_options: cred.as_json.to_json } do %> <%%= render "login_hidden_field" if params[<%= rodauth %>.login_param] %> <%%= hidden_field_tag <%= rodauth %>.webauthn_auth_challenge_param, cred.challenge %> <%%= hidden_field_tag <%= rodauth %>.webauthn_auth_challenge_hmac_param, <%= rodauth %>.compute_hmac(cred.challenge) %> <%%= text_field_tag <%= rodauth %>.webauthn_auth_param, "", id: "webauthn-auth", aria: { hidden: "true" } %> <div id="webauthn-auth-button"> <%%= render "submit", value: "Authenticate Using WebAuthn" %> </div> <%% end %> <%%= javascript_include_tag <%= rodauth %>.webauthn_auth_js_path %>
Version data entries
5 entries across 5 versions & 1 rubygems