* Update gems * Remove Omniauth CVE from bundle-audit ignore list * Add omniauth-rails_csrf_protection gem This is recommended in the OmniAuth upgrade guide: https://github.com/omniauth/omniauth/wiki/Upgrading-to-2.0#rails * Temporarily bundle Devise from master * Pin Devise commit in Gemfile * Fix CSRF cookie workaround As suggested by @fdoxyz * Remove CSRF workaround * Add DataDog counter * Add request path tag * Remove rendering of devise shared links * Remove unused Devise partial
14 lines
420 B
Text
14 lines
420 B
Text
<h2>Resend unlock instructions</h2>
|
|
|
|
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
|
|
<%= render "devise/shared/error_messages", resource: resource %>
|
|
|
|
<div class="field">
|
|
<%= f.label :email %><br />
|
|
<%= f.email_field :email, autofocus: true %>
|
|
</div>
|
|
|
|
<div class="actions">
|
|
<%= f.submit "Resend unlock instructions" %>
|
|
</div>
|
|
<% end %>
|