mirror of
https://github.com/redmine/redmine.git
synced 2025-11-09 14:56:01 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user