mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Add wifi security settings.
This commit is contained in:
1 parent
f63d8d29de
commit
f0c5cd080c
3 files changed
+60
-6
No files matched your search
@@ -41,6 +41,10 @@ class AddWifiForm(forms.Form):
|
||||
"""Form to create a new wifi connection."""
|
||||
name = forms.CharField(label=_('Connection Name'))
|
||||
ssid = forms.CharField(label=_('SSID'))
|
||||
auth_mode = forms.ChoiceField(
|
||||
label=_('Authentication Mode'),
|
||||
choices=[('wpa', 'WPA'), ('open', 'Open')])
|
||||
passphrase = forms.CharField(label=_('Passphrase'), required=False)
|
||||
ipv4_method = forms.ChoiceField(
|
||||
label=_('IPv4 Addressing Method'),
|
||||
choices=[('auto', 'Automatic (DHCP)'), ('manual', 'Manual')])
|
||||
|
||||
Reference in new issue
Block a user