mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-03 01:17:56 +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 = '','',''
|
||||
|
||||
if domain != '':
|
||||
if domain.find('.') == -1: # Dotter domain form
|
||||
if '.' in domain: # Dotter domain form
|
||||
username = username + '@' + domain
|
||||
domain = ''
|
||||
|
||||
|
@ -163,7 +163,7 @@ class TSRDPTransport(Transport):
|
||||
username, password, domain = '','',''
|
||||
|
||||
if domain != '':
|
||||
if domain.find('.') == -1: # Dotter domain form
|
||||
if '.' in domain: # Dotter domain form
|
||||
username = username + '@' + domain
|
||||
domain = ''
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user