mirror of
https://github.com/dkmstr/openuds.git
synced 2025-02-15 05:57:38 +03:00
fixing merge issues
This commit is contained in:
parent
8648fc605d
commit
92960d47ed
@ -120,6 +120,6 @@ class AuthenticatorsStats(StatsReportAuto):
|
||||
return self.templateAsPDF(
|
||||
'uds/reports/stats/authenticator_stats.html',
|
||||
dct={'data': stats},
|
||||
header=ugettext('Users usage list'),
|
||||
water=ugettext('UDS Report of users usage'),
|
||||
header=gettext('Users usage list'),
|
||||
water=gettext('UDS Report of users usage'),
|
||||
)
|
||||
|
@ -33,10 +33,6 @@ Author: Adolfo Gómez, dkmaster at dkmon dot com
|
||||
import re
|
||||
import logging
|
||||
import typing
|
||||
from urllib.parse import urlencode
|
||||
|
||||
from regex import W
|
||||
from uds.models.util import getSqlDatetime
|
||||
|
||||
from django.utils.translation import gettext_noop as _
|
||||
|
||||
@ -460,7 +456,7 @@ class HTML5RDPTransport(transports.Transport):
|
||||
},
|
||||
}
|
||||
|
||||
if password == '' and self.security.value != 'rdp':
|
||||
if not password and self.security.value != 'rdp':
|
||||
extra_params=f'&creds={username}@{domain}'
|
||||
else:
|
||||
extra_params=''
|
||||
|
Loading…
x
Reference in New Issue
Block a user