perrybutler / WP-OAuth

A WordPress plugin that allows users to login or register by authenticating with an existing Google, Facebook, LinkedIn, Github, Reddit or Windows Live account via OAuth 2.0. Easily drops into new or existing sites, integrates with existing users.
GNU General Public License v2.0
97 stars 76 forks source link

Being logged out due to inactivity after 60 seconds #10

Open codecowboy opened 9 years ago

codecowboy commented 9 years ago

Since updating my fork from master, I am being logged out after 60 seconds even though I have this set to never in the WP-OAuth settings. Where is this set??

perrybutler commented 9 years ago

That's odd...the logic actually kicks in with Javascript, in the wp-oauth.js file >> wpoa.timeoutIncrement. The value is passed from PHP to JS using wp_localize.