blob: 84ec11fc4919a4ca9412e25e26e67f157022aa97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
if Rails.version < '3'
config.gem 'rack-openid', :lib => 'rack/openid', :version => '>=0.2.1'
end
require 'open_id_authentication'
config.middleware.use OpenIdAuthentication
config.after_initialize do
OpenID::Util.logger = Rails.logger
ActionController::Base.send :include, OpenIdAuthentication
end
|