1
0
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:
Adolfo Gómez 2014-06-03 11:50:58 +00:00
parent eca08d6350
commit 3f97533e41
2 changed files with 3 additions and 3 deletions

View File

@ -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 = ''

View File

@ -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 = ''