forked from kalasjocke/authlogic-facebook-connect
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi. my app in ruby on rails 3.1.3 after login with authlogic_facebook_connect no redirect to root_url. My button code is:
<%= authlogic_facebook_login_button( "Facebook",:controller=>"user_sessions").html_safe %>
No make the login by post with 'user_sessions'. stay in form login.
My code of form login is:
<%= form_for(@user_session) do |f| %>
<h1>Accede</h1>
<% if @user_session.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@user_session.errors.count, "error") %>. Corrige los siguiente:</h2>
<ul>
<% @user_session.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>
<p><%= f.text_field :username, :placeholder=>"Correo electrónico" %></p>
<p><%= f.password_field :password,:placeholder=>"Contraseña" %></p>
<p><%= f.check_box :remember_me %> <%= f.label "Recordarme" %></p>
<p><%= f.submit "Iniciar" %></p>
<div style="clear:both;"></div></p>
<p>O accede instantaneamente con: <%= authlogic_facebook_login_button("Facebook",:controller=>"user_sessions").html_safe%> <a href="#"><img src="/assets/twitter.png" alt="" /></a></p>
<% end %>
I have my app of facebook created and app_id, secret, api_key. Nor do I see the new application in my facebook
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels