mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-23 17:34:17 +03:00
fixed udsactor pre command parameters
This commit is contained in:
parent
d8826c2841
commit
1518cc0294
@ -398,7 +398,7 @@ class CommonService: # pylint: disable=too-many-instance-attributes
|
||||
Base preconnect executes the preconnect command
|
||||
'''
|
||||
if self._cfg.pre_command:
|
||||
self.execute(self._cfg.pre_command, 'preConnect')
|
||||
self.execute(self._cfg.pre_command + ' "{}" "{}" "{}" "{}"'.format(userName.replace('"', '%22'), protocol, ip, hostname), 'preConnect')
|
||||
|
||||
return 'ok'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user