Skip to content

Cannot log in with 2.0.3 #1660

masterkain opened this Issue Feb 16, 2012 · 8 comments

9 participants


I upgraded to 2.0.3 and Devise stopped logging in users through the form. 2.0.2 works.

Started POST "/account/sign_in" for at 2012-02-16 23:47:40 +0100
Processing by Devise::SessionsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"mgsQgw+aqE2rYyIWSYREd+qmiu9NkQalihf+1yqWwp0=", "user"=>{"email"=>"", "password"=>"[FILTERED]"}, "commit"=>"Let me in!"}
Completed 401 Unauthorized in 13ms
Processing by Devise::SessionsController#new as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"mgsQgw+aqE2rYyIWSYREd+qmiu9NkQalihf+1yqWwp0=", "user"=>{"email"=>"", "password"=>"[FILTERED]"}, "commit"=>"Let me in!"}
  Rendered shared/_links.haml (6.6ms)
  Rendered shared/_login_form.haml (529.4ms)
  Rendered users/sessions/new.html.haml within layouts/application (626.5ms)
  Rendered layouts/_head.html.haml (40.9ms)
  Rendered layouts/_nav.html.haml (15.3ms)
  Rendered layouts/_footer.html.haml (2.6ms)
Completed 200 OK in 1482ms (Views: 1052.7ms | ActiveRecord: 0.0ms)
fabiob commented Feb 16, 2012

Same thing here. I'm just downgrading until it's figured out.



2.0.2 working fine though




yes returning 401


Yup Same here, Doesn't seem to be calling find_for_database_authentication

hui commented Feb 17, 2012


ncolgan commented Feb 17, 2012


Plataformatec member

Fixed. The gem was yanked and Devise 2.0.4 released. Thanks for the reports!

@josevalim josevalim closed this Feb 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.