Fixed broken OpenID authentication after migration to Rails 2.2 (#2894).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2551 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-03-04 17:37:28 +00:00
parent 0d86bbf3ad
commit 608d6683da
1 changed files with 1 additions and 1 deletions

View 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