mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
fixed where to get fixed credentials
This commit is contained in:
parent
d5e71be73c
commit
3646c9dec9
@ -92,6 +92,9 @@ class HTML5RDPTransport(Transport):
|
||||
import uuid
|
||||
|
||||
username = user.getUsernameForAuth()
|
||||
|
||||
if self.fixedName.value is not '':
|
||||
username = self.fixedName.value
|
||||
|
||||
domain = ''
|
||||
if username.find('@') != -1:
|
||||
@ -99,8 +102,6 @@ class HTML5RDPTransport(Transport):
|
||||
elif username.find('\\') != -1:
|
||||
domain, username = username.split('\\')
|
||||
|
||||
if self.fixedName.value is not '':
|
||||
username = self.fixedName.value
|
||||
if self.fixedPassword.value is not '':
|
||||
password = self.fixedPassword.value
|
||||
if self.fixedDomain.value is not '':
|
||||
|
Loading…
Reference in New Issue
Block a user