mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 16:26:03 +01:00
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
This commit is contained in:
@@ -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::Base.relative_url_root}#{request.path}"
|
"#{request.protocol}#{request.host_with_port}#{ActionController::AbstractRequest.relative_url_root}#{request.path}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def timeout_protection_from_identity_server
|
def timeout_protection_from_identity_server
|
||||||
|
|||||||
Reference in New Issue
Block a user