E
E
ertaquo2013-07-14 17:17:36
Ruby on Rails
ertaquo, 2013-07-14 17:17:36

Devise: not accessing the site?

Good day.
Installed Rails 3.2.13 + Passenger, on it - Devise 2.2.4. Of the settings, I changed only the mail, plus I transferred the forms from erb to slim. Now there is a strange bug: after registering or resetting the password, the site is logged in normally, but it is not possible to enter through the login form:

Started POST "/users/sign_in" for 188.186.102.147 at 2013-07-14 17:58:42 +0400
Processing by Devise::SessionsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"eqZ9zAUWn+blmhNMTi3iqhjX9ac1N8EaXpqNMyp/fYw=", "user"=>{"email"=>"[email protected]", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Войти"}
Completed 401 Unauthorized in 1ms
Processing by Devise::SessionsController#new as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"eqZ9zAUWn+blmhNMTi3iqhjX9ac1N8EaXpqNMyp/fYw=", "user"=>{"email"=>"[email protected]", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Войти"}
  Rendered devise/shared/_links.slim (3.8ms)
  Rendered devise/sessions/new.html.slim within layouts/application (59.6ms)
Completed 200 OK in 208ms (Views: 83.6ms | ActiveRecord: 1.4ms)

E-mail and password are entered correct, copy-paste already.
Nobody faced this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
ertaquo, 2013-07-17
@ertaquo

Installed Rails 4, this bug doesn't happen with it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question