ActionController::InvalidAuthenticityToken in Users::SessionsController#create
Opened this issue · 2 comments
shalafister commented
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 commented
same thing here