diff --git a/src/Web/Grand.Web.Admin/App_Data/appsettings.json b/src/Web/Grand.Web.Admin/App_Data/appsettings.json index e76fdf99e2..15aa0b3c08 100644 --- a/src/Web/Grand.Web.Admin/App_Data/appsettings.json +++ b/src/Web/Grand.Web.Admin/App_Data/appsettings.json @@ -83,8 +83,9 @@ //Key persistence location you can point to a directory on the local machine, or it can point to a folder on a network share. //if is null it will use the default directory path - ApplicationPath\App_Data\DataProtectionKeys "KeyPersistenceLocation": "", - //Gets or sets a value indicating for cookie auth expires in hours - default 24 * 365 = 8760 - "CookieAuthExpires": 8760, + //Gets or sets a value indicating for cookie auth expires in hours. A staff sign-in ends 12 hours after it was made, + //whether the panel is in use or not; the storefront keeps a long sign-in (8760 = 24 * 365) + "CookieAuthExpires": 12, //Gets or sets a value for cookie prefix - any changes will log out all of the customers "CookiePrefix": ".Grand.", //Gets or sets a value for cookie claim issuer - any changes will log out all of the customers diff --git a/src/Web/Grand.Web.Store/App_Data/appsettings.json b/src/Web/Grand.Web.Store/App_Data/appsettings.json index cbfda6b718..273e312ce3 100644 --- a/src/Web/Grand.Web.Store/App_Data/appsettings.json +++ b/src/Web/Grand.Web.Store/App_Data/appsettings.json @@ -83,8 +83,9 @@ //Key persistence location you can point to a directory on the local machine, or it can point to a folder on a network share. //if is null it will use the default directory path - ApplicationPath\App_Data\DataProtectionKeys "KeyPersistenceLocation": "", - //Gets or sets a value indicating for cookie auth expires in hours - default 24 * 365 = 8760 - "CookieAuthExpires": 8760, + //Gets or sets a value indicating for cookie auth expires in hours. A staff sign-in ends 12 hours after it was made, + //whether the panel is in use or not; the storefront keeps a long sign-in (8760 = 24 * 365) + "CookieAuthExpires": 12, //Gets or sets a value for cookie prefix - any changes will log out all of the customers "CookiePrefix": ".Grand.", //Gets or sets a value for cookie claim issuer - any changes will log out all of the customers diff --git a/src/Web/Grand.Web.Vendor/App_Data/appsettings.json b/src/Web/Grand.Web.Vendor/App_Data/appsettings.json index e76fdf99e2..15aa0b3c08 100644 --- a/src/Web/Grand.Web.Vendor/App_Data/appsettings.json +++ b/src/Web/Grand.Web.Vendor/App_Data/appsettings.json @@ -83,8 +83,9 @@ //Key persistence location you can point to a directory on the local machine, or it can point to a folder on a network share. //if is null it will use the default directory path - ApplicationPath\App_Data\DataProtectionKeys "KeyPersistenceLocation": "", - //Gets or sets a value indicating for cookie auth expires in hours - default 24 * 365 = 8760 - "CookieAuthExpires": 8760, + //Gets or sets a value indicating for cookie auth expires in hours. A staff sign-in ends 12 hours after it was made, + //whether the panel is in use or not; the storefront keeps a long sign-in (8760 = 24 * 365) + "CookieAuthExpires": 12, //Gets or sets a value for cookie prefix - any changes will log out all of the customers "CookiePrefix": ".Grand.", //Gets or sets a value for cookie claim issuer - any changes will log out all of the customers