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:
parent
59af07590b
commit
a449c93464
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user