1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00

removed DEPRECATED from simple ldap

This commit is contained in:
Adolfo Gómez García 2023-05-17 14:26:29 +02:00
parent 8e4615de19
commit 4df4892111
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23
2 changed files with 28 additions and 28 deletions

View File

@ -197,9 +197,9 @@ class SimpleLDAPAuthenticator(auths.Authenticator):
)
typeName = _('SimpleLDAP (DEPRECATED)')
typeName = _('SimpleLDAP')
typeType = 'SimpleLdapAuthenticator'
typeDescription = _('Simple LDAP authenticator (DEPRECATED)')
typeDescription = _('Simple LDAP authenticator')
iconFile = 'auth.png'
# If it has and external source where to get "new" users (groups must be declared inside UDS)

View File

@ -86,29 +86,29 @@ class HTML5SSHTransport(transports.Transport):
tooltip=_('Username for SSH connection authentication.'),
tab=gui.CREDENTIALS_TAB,
)
password = gui.PasswordField(
label=_('Password'),
order=21,
tooltip=_('Password for SSH connection authentication'),
tab=gui.CREDENTIALS_TAB,
)
sshPrivateKey = gui.TextField(
label=_('SSH Private Key'),
order=22,
multiline=4,
tooltip=_(
'Private key for SSH authentication. If not provided, password authentication is used.'
),
tab=gui.CREDENTIALS_TAB,
)
sshPassphrase = gui.PasswordField(
label=_('SSH Private Key Passphrase'),
order=23,
tooltip=_(
'Passphrase for SSH private key if it is required. If not provided, but it is needed, user will be prompted for it.'
),
tab=gui.CREDENTIALS_TAB,
)
# password = gui.PasswordField(
# label=_('Password'),
# order=21,
# tooltip=_('Password for SSH connection authentication'),
# tab=gui.CREDENTIALS_TAB,
# )
# sshPrivateKey = gui.TextField(
# label=_('SSH Private Key'),
# order=22,
# multiline=4,
# tooltip=_(
# 'Private key for SSH authentication. If not provided, password authentication is used.'
# ),
# tab=gui.CREDENTIALS_TAB,
# )
# sshPassphrase = gui.PasswordField(
# label=_('SSH Private Key Passphrase'),
# order=23,
# tooltip=_(
# 'Passphrase for SSH private key if it is required. If not provided, but it is needed, user will be prompted for it.'
# ),
# tab=gui.CREDENTIALS_TAB,
# )
sshCommand = gui.TextField(
label=_('SSH Command'),
@ -253,9 +253,9 @@ class HTML5SSHTransport(transports.Transport):
# Add optional parameters (strings only)
for i in (
('username', self.username),
('password', self.password),
('private-key', self.sshPrivateKey),
('passphrase', self.sshPassphrase),
# ('password', self.password),
# ('private-key', self.sshPrivateKey),
# ('passphrase', self.sshPassphrase),
('command', self.sshCommand),
('host-key', self.sshHostKey),
):