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:
parent
0d86bbf3ad
commit
608d6683da
|
@ -222,7 +222,7 @@ module OpenIdAuthentication
|
||||||
relative_url_root = self.class.respond_to?(:relative_url_root) ?
|
relative_url_root = self.class.respond_to?(:relative_url_root) ?
|
||||||
self.class.relative_url_root.to_s :
|
self.class.relative_url_root.to_s :
|
||||||
request.relative_url_root
|
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
|
end
|
||||||
|
|
||||||
def timeout_protection_from_identity_server
|
def timeout_protection_from_identity_server
|
||||||
|
|
Loading…
Reference in New Issue