forked from shaba/openuds
Fixed window upen
This commit is contained in:
parent
c6a40ac182
commit
89864b11c2
@ -456,7 +456,7 @@ class HTML5RDPTransport(transports.Transport):
|
||||
'create-drive-path': 'true',
|
||||
'ticket-info': {
|
||||
'userService': userService.uuid,
|
||||
'user': userService.user.uuid,
|
||||
'user': userService.user.uuid if userService.user else '',
|
||||
},
|
||||
}
|
||||
|
||||
@ -500,12 +500,11 @@ class HTML5RDPTransport(transports.Transport):
|
||||
|
||||
ticket = models.TicketStore.create(params, validity=self.ticketValidity.num())
|
||||
|
||||
onw = ''
|
||||
onw = '&o_n_w={}'.format(transport.uuid)
|
||||
if self.forceNewWindow.value == gui.TRUE:
|
||||
onw = '&o_n_w={}'
|
||||
onw = '&o_n_w={}'.format(userService.deployed_service.uuid)
|
||||
elif self.forceNewWindow.value == 'overwrite':
|
||||
onw = '&o_s_w=yes'
|
||||
onw = onw.format(hash(transport.name))
|
||||
path = (
|
||||
self.customGEPath.value
|
||||
if self.useGlyptodonTunnel.isTrue()
|
||||
|
Loading…
Reference in New Issue
Block a user