Skip to content

Cannot log in with 2.0.3 #1660

Closed
masterkain opened this Issue Feb 16, 2012 · 8 comments

9 participants

@masterkain

Hello,
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 127.0.0.1 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"=>"masterkain@gmail.com", "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"=>"masterkain@gmail.com", "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
fabiob commented Feb 16, 2012

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

@rafaelss

+1

2.0.2 working fine though

@alex-klepa

+1

@ulugbekov

yes returning 401

@rposborne

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

@hui
hui commented Feb 17, 2012

+1

@ncolgan
ncolgan commented Feb 17, 2012

+1

@josevalim
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.