Skip to content

Commit

Permalink
See scandipwa/scandipwa#1498 Added cookie lifetime property (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
zans-laksa authored Jan 25, 2021
1 parent 1529857 commit 37db2e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/etc/graphql/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<item name="is_email_confirmation_required" xsi:type="string">customer/create_account/confirm</item>
<item name="show_vat_number_on_storefront" xsi:type="string">customer/create_account/vat_frontend_visibility</item>
<item name="show_tax_vat_number" xsi:type="string">customer/address/taxvat_show</item>
<item name="cookie_lifetime" xsi:type="string">web/cookie/cookie_lifetime</item>
</argument>
</arguments>
</type>
Expand Down
1 change: 1 addition & 0 deletions src/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type StoreConfig {
address_lines_quantity: Int @doc(description: "Number of address lines in forms")
show_vat_number_on_storefront: Boolean @doc(description: "Displays VAT Number field at address form")
show_tax_vat_number: String @doc(description: "Allows to control the visibility and validation of VAT/TAX Number at customer details / signup forms")
cookie_lifetime: String @doc(description: "Cookie lifetime in seconds")
priceTaxDisplay: PriceTaxDisplay @resolver(class: "ScandiPWA\\StoreGraphQl\\Model\\Resolver\\PriceTaxDisplayResolver") @doc(description: "The price tax display mode")
}

Expand Down

0 comments on commit 37db2e2

Please sign in to comment.