ca98am79 / connect-dynamodb

DynamoDB session store for Connect
http://ca98am79.github.com/connect-dynamodb/
MIT License
144 stars 66 forks source link

Fix Bug Where Cookie's maxAge is Incorrectly Applied as Divided by 1000 to expires #83

Closed intercept6 closed 9 months ago

intercept6 commented 1 year ago

The maxAge of the cookie is treated as milliseconds even though it is set to seconds. This can be resolved by obtaining the current time in seconds and then treating it as such.

intercept6 commented 9 months ago

@ca98am79 I am running this fix manually patching it and would like it to be merged. Please let me know if there is anything missing so I can merge it.

ca98am79 commented 9 months ago

thanks @intercept6 !