• Resolved samiul123

    (@samiul123)


    hey, thanks for the plugin.This one of the best. but I am facing a problem. After installing this, the users are logged out automatically after 2-3hrs. But when I uninstall this,,, I find everything ok.I used a php code to keep user logged in for one year.it works when I deactivate this plugin.I also tried removing that code.And I found the problem is with the plugin.
    Waiting for your reply.Thank you

    • This topic was modified 6 years, 7 months ago by samiul123.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Maya

    (@tdgu)

    Hi,
    If you change the admin url, the plugin need to apply a new cookie. However it rely on ‘set_auth_cookie’ action and use the data is being sent through. You code might not change the correct information, i suggest so you check with wp-includes/pluggable.php function wp_set_auth_cookie , use the ‘auth_cookie_expiration’ filter to change the $expiration.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress is logging out the users after installing this plugin’ is closed to new replies.