apostrophe-cms

Log user out of apostrophe-cms after period of inactivity


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?


Solution

  • 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