Fixed bug where unchecked Autotask enabled checkbox was not processed by the backend, preventing users from disabling the integration after enabling it. Root cause: HTML forms do not send unchecked checkbox values. The existing check `if "autotask_enabled" in request.form` would skip updating the setting when the checkbox was unchecked. Solution: Use the existing autotask_form_touched flag to detect when the Autotask settings form is submitted, then update the checkbox value based on presence (checked) or absence (unchecked) in form data. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| backupchecks | ||