diff --git a/skyvern-frontend/src/routes/tasks/create/CreateNewTaskForm.tsx b/skyvern-frontend/src/routes/tasks/create/CreateNewTaskForm.tsx index be0e832d..aaf809c4 100644 --- a/skyvern-frontend/src/routes/tasks/create/CreateNewTaskForm.tsx +++ b/skyvern-frontend/src/routes/tasks/create/CreateNewTaskForm.tsx @@ -78,7 +78,6 @@ function createTaskRequestObject( proxy_location: formValues.proxyLocation ?? ProxyLocation.Residential, navigation_payload: transform(formValues.navigationPayload), extracted_information_schema: extractedInformationSchema, - totp_verification_url: transform(formValues.totpVerificationUrl), totp_identifier: transform(formValues.totpIdentifier), error_code_mapping: errorCodeMapping, }; @@ -556,32 +555,6 @@ function CreateNewTaskForm({ initialValues }: Props) { )} /> - ( - -
- -
-

2FA Verification URL

-

-
-
-
- - - - -
-
-
- )} - /> diff --git a/skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsx b/skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsx index 63fdedaa..05fc8220 100644 --- a/skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsx +++ b/skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsx @@ -54,7 +54,6 @@ function createTaskRequestObject(formValues: SavedTaskFormValues) { extracted_information_schema: safeParseMaybeJSONString( formValues.extractedInformationSchema, ), - totp_verification_url: transform(formValues.totpVerificationUrl), totp_identifier: transform(formValues.totpIdentifier), error_code_mapping: safeParseMaybeJSONString(formValues.errorCodeMapping), }; @@ -98,7 +97,6 @@ function createTaskTemplateRequestObject(values: SavedTaskFormValues) { values.extractedInformationSchema, ), max_steps_per_run: values.maxStepsOverride, - totp_verification_url: values.totpVerificationUrl, totp_identifier: values.totpIdentifier, error_code_mapping: safeParseMaybeJSONString(values.errorCodeMapping), }, @@ -705,32 +703,6 @@ function SavedTaskForm({ initialValues }: Props) { )} /> - ( - -
- -
-

2FA Verification URL

-

-
-
-
- - - - -
-
-
- )} - /> ) { /> -
-
- - -
- { - handleChange("totpVerificationUrl", value); - }} - value={inputs.totpVerificationUrl ?? ""} - placeholder={placeholders["action"]["totpVerificationUrl"]} - className="nopan text-xs" - /> -
-
-
- - -
- { - handleChange("totpVerificationUrl", value); - }} - value={inputs.totpVerificationUrl ?? ""} - placeholder={ - placeholders["download"]["totpVerificationUrl"] - } - className="nopan text-xs" - /> -
-
-
- - -
- { - handleChange("totpVerificationUrl", value); - }} - value={inputs.totpVerificationUrl ?? ""} - placeholder={placeholders["login"]["totpVerificationUrl"]} - className="nopan text-xs" - /> -
-
-
- - -
- { - handleChange("totpVerificationUrl", value); - }} - value={inputs.totpVerificationUrl ?? ""} - placeholder={ - placeholders["navigation"]["totpVerificationUrl"] - } - className="nopan text-xs" - /> -
-
-
- - -
- { - handleChange("totpVerificationUrl", value); - }} - value={inputs.totpVerificationUrl ?? ""} - placeholder={placeholders["task"]["totpVerificationUrl"]} - className="nopan text-xs" - /> -