Merge pull request #483 from juandefelix/user-from-omniauth

Añadido :terms_of_service a User::first_or_create_for_oauth
This commit is contained in:
Enrique García
2015-09-22 16:42:14 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -7,5 +7,6 @@
<%= link_to t("omniauth.twitter.sign_up"), user_omniauth_authorize_path(:twitter), class: "button-twitter button radius expand" %>
<%= link_to t("omniauth.facebook.sign_up"), user_omniauth_authorize_path(:facebook), class: "button-facebook button radius expand" %>
<%= link_to t("omniauth.google_oauth2.sign_up"), user_omniauth_authorize_path(:google_oauth2), class: "button-google button radius expand" %>
<p>Al hacer login con una red social, usted está aceptando los términos legales.</p>
<hr/>
<% end %>