Commit b8a519ad authored by Dheeraj Joshi's avatar Dheeraj Joshi

Fix DAST site profile form submission

This fixes a regression due to incorrectly
using graphql field behind a feature flag
parent e9fec32f
......@@ -143,7 +143,9 @@ export default {
fullPath: this.fullPath,
...(this.isEdit ? { id: this.siteProfile.id } : {}),
...serializeFormObject(this.form.fields),
auth: isAuthEnabled ? serializeFormObject(this.authSection.fields) : {},
...(this.glFeatures.securityDastSiteProfilesAdditionalFields && {
auth: serializeFormObject(this.authSection.fields),
}),
},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment