Sha256: 34b4e006340770f342141405d8a167af92f9952ac64cc86ae294cf3ad9974850
Contents?: true
Size: 834 Bytes
Versions: 24
Compression:
Stored size: 834 Bytes
Contents
<%= render "layouts/koi/navigation_header" %> <%= form_with( model: admin_user, url: admin_session_path, data: { controller: "webauthn-authentication", webauthn_authentication_options_value: { publicKey: webauthn_auth_options }, }, ) do |f| %> <%= f.govuk_fieldset legend: nil do %> <%= f.govuk_email_field :email, autofocus: true, autocomplete: "email" %> <%= f.govuk_password_field :password, autocomplete: "current-password" %> <%= f.hidden_field :response, data: { webauthn_authentication_target: "response" } %> <% end %> <div class="actions-group"> <%= f.admin_save "Log in" %> <%= f.button "🔑", type: :button, class: "button button--secondary", data: { action: "webauthn-authentication#authenticate" } %> </div> <% end %>
Version data entries
24 entries across 24 versions & 1 rubygems