1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-12 09:17:56 +03:00

Changed parameter _USERNAME_ for _USER_ on URL Transport (as in tooltip)

This commit is contained in:
Adolfo Gómez García 2021-11-08 13:28:09 +01:00
parent f403d4ff3e
commit 90b64c1721

View File

@ -120,7 +120,7 @@ class URLCustomTransport(transports.Transport):
username: str = user.getUsernameForAuth()
username, password = userService.processUserPassword(username, password)
url = self.urlPattern.value.replace('_IP_', ip).replace('_USERNAME_', username)
url = self.urlPattern.value.replace('_IP_', ip).replace('_USER_', username)
onw = (
'&o_n_w={}'.format(hash(transport.name))