X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f89dda9b906706da007e8185e8ffcd8a65ebac36..4bb9f96133e04872739b7f40034521b5b4de6a2d:/config/initializers/openid.rb diff --git a/config/initializers/openid.rb b/config/initializers/openid.rb index a171d1e7b..2a6de16b2 100644 --- a/config/initializers/openid.rb +++ b/config/initializers/openid.rb @@ -1,7 +1,7 @@ if defined?(MEMCACHE_SERVERS) require "openid/store/memcache" - OpenIdAuthentication.store = OpenID::Store::Memcache.new(MemCache.new(:namespace => "rails", :string_return_types => true)) + OpenIdAuthentication.store = OpenID::Store::Memcache.new(Dalli::Client.new(MEMCACHE_SERVERS, :namespace => "rails")) else OpenIdAuthentication.store = :file end