bungle / lua-resty-session

Session library for OpenResty – flexible and secure
BSD 2-Clause "Simplified" License
320 stars 111 forks source link

fix(regenerate) flush argument and missing session id #144

Closed bungle closed 2 years ago

bungle commented 2 years ago

Summary

3.9 release introduces a small bug where the session:regenerate flush parameter was not taken in account. I also added automatic id generation just in case it is missing for some reason.