mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-20 14:03:49 +03:00
Fixed FQDN domain transport form
This commit is contained in:
parent
eca08d6350
commit
3f97533e41
@ -175,7 +175,7 @@ class RDPTransport(Transport):
|
|||||||
username, password, domain = '','',''
|
username, password, domain = '','',''
|
||||||
|
|
||||||
if domain != '':
|
if domain != '':
|
||||||
if domain.find('.') == -1: # Dotter domain form
|
if '.' in domain: # Dotter domain form
|
||||||
username = username + '@' + domain
|
username = username + '@' + domain
|
||||||
domain = ''
|
domain = ''
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ class TSRDPTransport(Transport):
|
|||||||
username, password, domain = '','',''
|
username, password, domain = '','',''
|
||||||
|
|
||||||
if domain != '':
|
if domain != '':
|
||||||
if domain.find('.') == -1: # Dotter domain form
|
if '.' in domain: # Dotter domain form
|
||||||
username = username + '@' + domain
|
username = username + '@' + domain
|
||||||
domain = ''
|
domain = ''
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user