]> source.dussan.org Git - redmine.git/commitdiff
Fixed broken OpenID authentication after migration to Rails 2.2 (#2894).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 4 Mar 2009 17:37:28 +0000 (17:37 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 4 Mar 2009 17:37:28 +0000 (17:37 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2551 e93f8b46-1217-0410-a6f0-8f06a7374b81

vendor/plugins/open_id_authentication/lib/open_id_authentication.rb

index 54a38acc1bae399c2a2ab16a1c52ba5596be7036..22481136e01f9150001ae745af9ed2e701a8e707 100644 (file)
@@ -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::AbstractRequest.relative_url_root}#{request.path}"
+      "#{request.protocol}#{request.host_with_port}#{relative_url_root}#{request.path}"
     end
 
     def timeout_protection_from_identity_server