forked from shaba/openuds
fixed where to get fixed credentials
This commit is contained in:
parent
d5e71be73c
commit
3646c9dec9
@ -93,14 +93,15 @@ class HTML5RDPTransport(Transport):
|
|||||||
|
|
||||||
username = user.getUsernameForAuth()
|
username = user.getUsernameForAuth()
|
||||||
|
|
||||||
|
if self.fixedName.value is not '':
|
||||||
|
username = self.fixedName.value
|
||||||
|
|
||||||
domain = ''
|
domain = ''
|
||||||
if username.find('@') != -1:
|
if username.find('@') != -1:
|
||||||
username, domain = username.split('@')
|
username, domain = username.split('@')
|
||||||
elif username.find('\\') != -1:
|
elif username.find('\\') != -1:
|
||||||
domain, username = username.split('\\')
|
domain, username = username.split('\\')
|
||||||
|
|
||||||
if self.fixedName.value is not '':
|
|
||||||
username = self.fixedName.value
|
|
||||||
if self.fixedPassword.value is not '':
|
if self.fixedPassword.value is not '':
|
||||||
password = self.fixedPassword.value
|
password = self.fixedPassword.value
|
||||||
if self.fixedDomain.value is not '':
|
if self.fixedDomain.value is not '':
|
||||||
|
Loading…
Reference in New Issue
Block a user