refactor x509 url computing

This commit is contained in:
Serghei Mihai 2015-05-26 16:47:35 +02:00
parent 55f2a6be43
commit 1e02bc5e7f
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class SSLInfo(BaseSSLInfo):
self.read_env(dict(ssl_headers))
def get_x509_url(request):
return 'https://%s:%s' % (request.get_host(),
return 'https://%s:%s' % (request.get_host().split(':')[0],
app_settings.AUTH_PORT)
def get_user_names(ssl_info):