1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-03-20 06:50:23 +03:00

Change client_secret and secret fields to PasswordField for enhanced security

This commit is contained in:
Adolfo Gómez García 2025-01-08 17:20:17 +01:00
parent 59af07590b
commit a449c93464
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ class OAuth2Authenticator(auths.Authenticator):
required=True,
tab=_('Server'),
)
client_secret = gui.TextField(
client_secret = gui.PasswordField(
length=128,
label=_('Client Secret'),
order=3,

View File

@ -76,7 +76,7 @@ class RadiusAuth(auths.Authenticator):
tooltip=_('Radius authentication port (usually 1812)'),
required=True,
)
secret = gui.TextField(
secret = gui.PasswordField(
length=64,
label=_('Secret'),
order=3,