1
0
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:
Adolfo Gómez García 2022-10-18 20:47:26 +02:00
parent 8648fc605d
commit 92960d47ed
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23
2 changed files with 3 additions and 7 deletions

View File

@ -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'),
)

View File

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