]> git.openstreetmap.org Git - rails.git/blob - config/initializers/openid.rb
Merge pull request #35 from tomhughes/routing
[rails.git] / config / initializers / openid.rb
1 if defined?(MEMCACHE_SERVERS)
2   require "openid/store/memcache"
3
4   OpenIdAuthentication.store = OpenID::Store::Memcache.new(Dalli::Client.new(MEMCACHE_SERVERS, :namespace => "rails"))
5 else
6   OpenIdAuthentication.store = :file
7 end