convissor / login-security-solution

Development of the login-security-solution WordPress plugin happens here.
33 stars 21 forks source link

Sessions don't expire in frontend #62

Open lyquix-owner opened 6 years ago

lyquix-owner commented 6 years ago

Hello

We have a custom plugin that allows users to log in using a custom page using wp_login_form().

For the pages that need access control we use is_user_logged_in().

We recently installed your plugin to have sessions automatically expire after 30 minutes idling. It works perfectly for users on the Dashboard, but doesn't seem to be doing anything if the user stays in the frontend.

Should we be doing something in our plugin to make sure that your plugin checks and closes idle sessions? Should we be using a different function to check if the user is still logged in?

Thank you!