msp: fix redirection to the iframe- host
This commit is contained in:
parent
670fe83314
commit
c72beda051
|
@ -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')
|
||||
|
|
Reference in New Issue