]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/omniauth.rb
Make the storage service to use for avatars configurable
[rails.git] / config / initializers / omniauth.rb
index a61fe960ccafb8dd24fcb25b84796ad82e261348..7889fca815b8aab7387efecc792c91b19ef30489 100644 (file)
@@ -16,7 +16,7 @@ if Settings.key?(:memcache_servers)
 else
   require "openid/store/filesystem"
 
 else
   require "openid/store/filesystem"
 
-  openid_store = OpenID::Store::Filesystem.new(Rails.root.join("tmp", "openids"))
+  openid_store = OpenID::Store::Filesystem.new(Rails.root.join("tmp/openids"))
 end
 
 openid_options = { :name => "openid", :store => openid_store }
 end
 
 openid_options = { :name => "openid", :store => openid_store }