plataformatec/devise — Issue #1399: redirection after authentication fails.
Author: mabid
Created: 2011-10-24 20:29:03+00:00
State: open

The default behavior of the gem always redirects to '/sessions/new' if the authentication fails. Is there a way to change this without overriding the sessions controller ?

Lets say for example if the sign_in fails I want to user to be redirected to a different page not the login form again or i want to server the login form from a different controller.