mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 17:26:10 -06:00
Closes #11623: hide Wi-Fi PSK
This commit is contained in:
parent
8d25d7812c
commit
bd4168e23d
@ -1,3 +1,4 @@
|
|||||||
|
from django.forms import PasswordInput
|
||||||
from django.utils.translation import gettext as _
|
from django.utils.translation import gettext as _
|
||||||
from dcim.models import Device, Interface, Location, Region, Site, SiteGroup
|
from dcim.models import Device, Interface, Location, Region, Site, SiteGroup
|
||||||
from ipam.models import VLAN, VLANGroup
|
from ipam.models import VLAN, VLANGroup
|
||||||
@ -101,6 +102,7 @@ class WirelessLANForm(TenancyForm, NetBoxModelForm):
|
|||||||
'status': StaticSelect,
|
'status': StaticSelect,
|
||||||
'auth_type': StaticSelect,
|
'auth_type': StaticSelect,
|
||||||
'auth_cipher': StaticSelect,
|
'auth_cipher': StaticSelect,
|
||||||
|
'auth_psk': PasswordInput(attrs={'data-toggle': 'password'})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user