title: devise error message when wrong username/password
body: <p>My problem is that I do not see any error messages when Devise sign in failed. When this happens I got redirected to Devise::SessionsController#new which is not setting any errors</p>
  
  <pre><code>Started POST "/users/sign_in" for 127.0.0.1 at 2014-08-17 06:30:59 +0300
  Processing by Devise::SessionsController#create as HTML
    Parameters: {"utf8"=&gt;"✓", "authenticity_token"=&gt;"4ZgT4DtyyNYNGHRbwCVASolL3CQEqIeMtPlOOy7EBik=", "user"=&gt;{"username"=&gt;"setdddd", "password"=&gt;"[FILTERED]", "remember_me"=&gt;"0"}, "commit"=&gt;"Войти"}
  Completed 401 Unauthorized in 3ms
  Processing by Devise::SessionsController#new as HTML
    Parameters: {"utf8"=&gt;"✓", "authenticity_token"=&gt;"4ZgT4DtyyNYNGHRbwCVASolL3CQEqIeMtPlOOy7EBik=", "user"=&gt;{"username"=&gt;"setdddd", "password"=&gt;"[FILTERED]", "remember_me"=&gt;"0"}, "commit"=&gt;"Войти"}
  []
    Rendered devise/shared/_links.erb (0.1ms)
    Rendered devise/sessions/new.html.erb within layouts/application (40.0ms)
    Rendered application/_header.erb (0.5ms)
    Rendered application/_footer.erb (0.0ms)
  Completed 200 OK in 50ms (Views: 47.8ms | ActiveRecord: 0.0ms)
  </code></pre>
  
  <p>So the question is are there any switches in devise configuration that allow me to show error message to user, not just a redirect?</p>