The Sector Starter Kit includes the Automated Logout module.
The module logs users out after a specified time of inactivity. The time threshold can be set per user role, and a customisable logout dialog notifies the user of an impending logout.
Automated logout settings
/admin/config/people/autologout
From July 2020, we have tightened the settings to a maximum time of 3600 seconds or 1 hour. We found that timeframe a good balance between user activities and security.
Auto logout is an important part of the security of your site!
Always review all security settings and align setting with your internal security policy.
login
Drupal module