User device maxAge was previously set to session, as i belived this was the same as never, but session will terminate when browser is closed.
Updated device cookie to have maxAge of 1 year.
Cookie expire date is not dynamically updated, so the user device will be invalidated in 1 year. This could be improved by udpate the cookie when user interact with ztnet.
User device maxAge was previously set to
session
, as i belived this was the same as never, but session will terminate when browser is closed.Updated device cookie to have maxAge of 1 year.
Cookie expire date is not dynamically updated, so the user device will be invalidated in 1 year. This could be improved by udpate the cookie when user interact with ztnet.
Related #526