totpForm = (req, action) =>
  new Form({
    action: action || "/auth/twofa/setup/totp",
    fields: [
      {
        name: "totpCode",
        label: req.__("Code"),
        type: "Integer",
        attributes: {
          type: "text",
          inputmode: "numeric",
          pattern: "[0-9]*",
          autocomplete: "one-time-code",
        },
        required: true,
      },
    ],
  })
totpForm (TWA)
@param {*} req
@param {*} action
@returns