<commit_before>    <div class="actions pure-controls">
<%- if controller_name != 'sessions' %>
  <%#= link_to I18n.t(:'users.sign_in'), new_session_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
  <%#= link_to I18n.t(:'users.sign_up'), new_registration_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
  <%= link_to I18n.t(:'devise.passwords.forgot_your_password'), new_password_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
  <%= link_to I18n.t(:'devise.confirmations.didnt_receive_instructions'), new_confirmation_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
  <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br />
<% end -%>
    </div>

<%- if devise_mapping.omniauthable? %>
    <div class="actions pure-controls">
  <%- resource_class.omniauth_providers.each do |provider| %>
  <%= link_to omniauth_authorize_path(resource_name, provider) do %>
  <div class="google-signin"></div>
  <% end %>
  <br />
  <% end -%>
    </div>
<% end -%><commit_msg>Use post to omniauth login to protect from csrf attacks<commit_after>    <div class="actions pure-controls">
<%- if controller_name != 'sessions' %>
  <%#= link_to I18n.t(:'users.sign_in'), new_session_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
  <%#= link_to I18n.t(:'users.sign_up'), new_registration_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
  <%= link_to I18n.t(:'devise.passwords.forgot_your_password'), new_password_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
  <%= link_to I18n.t(:'devise.confirmations.didnt_receive_instructions'), new_confirmation_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
  <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br />
<% end -%>
    </div>

<%- if devise_mapping.omniauthable? %>
    <div class="actions pure-controls">
  <%- resource_class.omniauth_providers.each do |provider| %>
  <%= link_to omniauth_authorize_path(resource_name, provider), method: :post do %>
  <div class="google-signin"></div>
  <% end %>
  <br />
  <% end -%>
    </div>
<% end -%>
{'fraction_non_alphanumeric': 0.19070105339629495, 'fraction_numerical': 0.005811841627315656, 'mean_word_length': 5.259090909090909, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2124517', 'n_tokens_mistral': 1054, 'n_tokens_neox': 962, 'n_words': 159}