This version fixes an regression from the previous release, where the cookie
expiration time wasn't being correctly passed from the module to the native
ProcessWire cookie function, meaning that cookies were only lasting for the
default time of 7 days.
Due to the native PW cookie function usage, it also bumps the required PW
version to 3.0.159.
Fixed
- Use the
expirekey instead ofexpireswhen calling the PW cookie setting function. - Added constructor function to make sure default values are applied.
Changed
- Updated module dependencies to require PW version 3.0.159 (use of
expireoption key).