mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
wireguard: Add empty form for AutoAddClientView
Signed-off-by: Frederico Gomes <fredericojfgomes@gmail.com> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
77a91fc357
commit
8cbcd39bb2
@ -74,6 +74,11 @@ class AddClientForm(forms.Form):
|
|||||||
validators=[validate_key])
|
validators=[validate_key])
|
||||||
|
|
||||||
|
|
||||||
|
class AutoAddClientForm(forms.Form):
|
||||||
|
"""Empty form for auto-client addition UX."""
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class AddServerForm(forms.Form):
|
class AddServerForm(forms.Form):
|
||||||
"""Form to add server."""
|
"""Form to add server."""
|
||||||
peer_endpoint = forms.CharField(
|
peer_endpoint = forms.CharField(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user