msp: fix redirection to the iframe- host

This commit is contained in:
Benjamin Dauvergne 2013-10-25 20:43:50 +02:00
parent 670fe83314
commit c72beda051
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class MSPDirectory(Directory):
frontoffice_url = get_publisher().get_frontoffice_url()
self_url = frontoffice_url
self_url += '/msp/pick'
self_url = self_url.replace('//localhost', '//iframe-localhost')
self_url = self_url.replace('://', '://iframe-')
if 'code' not in request.form and 'error' not in request.form:
return self.authorize(self_url, 'LIST_DOCS')