Mercurial > hg > soundsoftware-site
comparison lib/plugins/open_id_authentication/init.rb @ 1115:433d4f72a19b redmine-2.2
Update to Redmine SVN revision 11137 on 2.2-stable branch
author | Chris Cannam |
---|---|
date | Mon, 07 Jan 2013 12:01:42 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
929:5f33065ddc4b | 1115:433d4f72a19b |
---|---|
1 if Rails.version < '3' | |
2 config.gem 'rack-openid', :lib => 'rack/openid', :version => '>=0.2.1' | |
3 end | |
4 | |
5 require 'open_id_authentication' | |
6 | |
7 config.middleware.use OpenIdAuthentication | |
8 | |
9 config.after_initialize do | |
10 OpenID::Util.logger = Rails.logger | |
11 ActionController::Base.send :include, OpenIdAuthentication | |
12 end |