]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/openid.rb
Remove unused about page code
[rails.git] / config / initializers / openid.rb
index a171d1e7b27f3093d5c3f916658715cb3069d62d..2a6de16b22f2416a2082c21c5d42f3568449ab79 100644 (file)
@@ -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