ActionController::InvalidAuthenticityToken Error since re cloned git repo

Viewed 215

I have locally deleted my Rails GitHub Project and re-cloned it but since then I am getting the error "ActionController::InvalidAuthenticityToken" when trying to login through Devise. Image Here

 def handle_unverified_request
      raise ActionController::InvalidAuthenticityToken
    end
  end
end

Does it ring a bell for anybody? Maybe some sort of encrypting key have been changed?

I have tried with a different browser, deleting my cookies but same issue.

Thanks

1 Answers

You need to enable the dev cache.

Run rails dev:cache, then restart the dev server.

Related