From 5af2b3738be739796ae98ce68a3ea9162c7248bf Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Mon, 8 Jul 2024 11:11:33 +0200 Subject: ogcp: enable modification of client ip Add 'id' value to the /client/update payload. Enable modification for the ip input field in the client update form. --- ogcp/forms/action_forms.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ogcp/forms') diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index 69149da..e72e37c 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -126,6 +126,7 @@ class FolderForm(FlaskForm): class ClientDetailsForm(FlaskForm): server = HiddenField() + client_id = HiddenField() name = StringField(label=_l('Name'), validators=[InputRequired()]) ip = StringField(label=_l('IP'), -- cgit v1.2.3-18-g5258