plataformatec/devise — Issue #1512: ActionController::InvalidAuthenticityToken only during Sign In
Author: emh
Created: 2011-12-17 01:00:37+00:00
State: open

i just upgraded Devise from 1.1.5 to the latest version (1.5.2, using "bundler update devise") and after some hiccups with current_user (changing the session key fixed that) I'm now getting ActionController::InvalidAuthenticityToken whenever I try to sign in. Sign up works just fine. As does any other form in the site. After sign up I am even successfully signed in. But if I sign out and try to sign in again, it fails with the InvalidAuthenticityToken exception.

downgrading back to devise 1.1.5 fixes the problem.
downgrading to devise 1.2 does not.