Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActionController::InvalidAuthenticityToken in Users::SessionsController#create #46

Open
shalafister opened this issue Mar 30, 2015 · 2 comments

Comments

@shalafister
Copy link

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

@tzoro
Copy link

tzoro commented Jun 4, 2015

same thing here

@tzoro
Copy link

tzoro commented Dec 24, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants