Automatically Sign Users Out of WordPress or BuddyPress After Inactivity
Want to make sure that your users get logged out after a period of inactivity on your site? Install the new Inactivity Auto Sign Out Plugin. It works with both WordPress and BuddyPress and is composed of a single PHP file. You can easily edit it to change the inactivity time period to suit the needs of your site, as well as a redirect URL for auto log out.