starterkits/rails4-starterkit

ActionController::InvalidAuthenticityToken in Users::SessionsController#create

Opened this issue · 2 comments

I like the starter kit. However, when I tried to sign up I received an error saying -> ActionController::InvalidAuthenticityToken in Users::SessionsController#create
I tried to solve this problem by adding ;

app/controllers/users/registrations_controller.rb

class RegistrationsController < Devise::RegistrationsController
skip_before_filter :verify_authenticity_token, :only => :create
end

But, then it gives an error in the forgot password screen. And also when I try to log in it redirects me automatically to sign in page. Not like in your demo

Thank you

same thing here

tzoro commented

Switching to AR session store and removing this change set seems like solution
a0865d9