[openstreetmap/openstreetmap-website] Using Rails point to my local title server,when I sign up or log in to the server this happens:ActionController::InvalidAuthenticityToken (#1662)
notifications at github.com
Thu Nov 2 00:15:15 UTC 2017
@gleide I've encountered the same issue recently when setting up a fresh copy of the Rails app locally. Here are two solutions that you may find useful:
- Create a blank file at `tmp/caching-dev.txt`. This will turn on a local in-memory cache store, which will be used to store your user session data.
- Install a local [memcache](https://memcached.org/) server. Set `memcache_servers: [127.0.0.1]` in your `application.yml`.
@tomhughes I've proposed a small improvement that may guard against issues like this in the future. Here it is, in case you and other maintainers think it may be useful: https://github.com/openstreetmap/openstreetmap-website/pull/1666
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev