summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-10-22 01:34:21 +0000
committerGo MAEDA <maeda@farend.jp>2019-10-22 01:34:21 +0000
commitb67cb67cce6d3f10d853475f35ba90c51125891a (patch)
treea81b8f511469ef98e22dcb825461592c3e9aa7de /lib
parent0398596d240282eb2b562f6d274bbc5c127ad9a4 (diff)
downloadredmine-b67cb67cce6d3f10d853475f35ba90c51125891a.tar.gz
redmine-b67cb67cce6d3f10d853475f35ba90c51125891a.zip
Remove code for unsupported versions of Rails from open_id_authentication (#32297).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18788 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/open_id_authentication/init.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/plugins/open_id_authentication/init.rb b/lib/plugins/open_id_authentication/init.rb
index e276bc873..ec96a5a7f 100644
--- a/lib/plugins/open_id_authentication/init.rb
+++ b/lib/plugins/open_id_authentication/init.rb
@@ -1,9 +1,5 @@
# frozen_string_literal: false
-if Rails.version < '3'
- config.gem 'rack-openid', :lib => 'rack/openid', :version => '>=0.2.1'
-end
-
require 'open_id_authentication'
config.middleware.use OpenIdAuthentication