1

I don't see a way to setup apostrophe to automatically log a user out after a period of inactivity. Did I miss something in the documentation or is there a way to implement this built in already?

Mike Murray
  • 138
  • 1
  • 1
  • 9

1 Answers1

1

Sessions automatically expire after 24 hours. This is set as an option in the apostrophe-express module's session.cookie subproperty: https://docs.apostrophecms.org/reference/modules/apostrophe-express.html#options

alexbea
  • 1,311
  • 14
  • 25
  • 1
    thanks, I looked for this for much longer than I should have considering how obvious it was once you pointed it out! – Mike Murray Feb 04 '21 at 16:56