diff options
Diffstat (limited to 'lib/local_openid.rb')
-rw-r--r-- | lib/local_openid.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/local_openid.rb b/lib/local_openid.rb index ab342a9..0edbf37 100644 --- a/lib/local_openid.rb +++ b/lib/local_openid.rb @@ -160,11 +160,8 @@ class LocalOpenID < Sinatra::Base finalize_response(oidresp) end - # we're the provider for exactly one identity. However, we do rely on - # being proxied and being hit with an appropriate HTTP Host: header. - # Don't expect OpenID consumers to handle port != 80. def server_root - "http://#{request.host}/" + "#{request.base_url}/" end def server |