Fixed a bug in open_id_authentication, where relative_url_root is defined

on ActionController:AbstractRequest not Base

  #699

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2441 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Eric Davis 16 years ago
parent dbf02e2654
commit a4e6e13b70
  1. 2
      vendor/plugins/open_id_authentication/lib/open_id_authentication.rb

@ -222,7 +222,7 @@ module OpenIdAuthentication
relative_url_root = self.class.respond_to?(:relative_url_root) ?
self.class.relative_url_root.to_s :
request.relative_url_root
"#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root}#{request.path}"
"#{request.protocol}#{request.host_with_port}#{ActionController::AbstractRequest.relative_url_root}#{request.path}"
end
def timeout_protection_from_identity_server

Loading…
Cancel
Save