• Resolved gah242s

    (@gah242s)


    I figured out where to set the auth cookie to a longer time frame if needed, but I’d rather see a renewal happen if possible. However, I’m not sure that this is possible since the wp-cron has been disabled on page loads and is being called via crond.
    When I’m actively using the site, I get logged out after an hour. First off, is that normal or do I have something broken? If it’s normal, how might the cookie be renewed automagically? Something like, when auth cookie is called and expire time is less that 10 minutes, reset expire time to 3600.
    If it’s not normal, any clues as to what to look for in which logs?

    https://ww.wp.xz.cn/plugins/wpdirauth/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Paul Gilzow

    (@gilzow)

    the hour timeout is hard-coded right now (line 2111). It’s been that way all the back to version 1.0. it’s on my to-do list to make it a configurable option in the settings.

    Thread Starter gah242s

    (@gah242s)

    Are you hoping to make the configurable option so that it’s basically making the timeout value a variable or are you hoping to add a configuration option of having the login renew itself? Or both? Also, based on your reply, I’m assuming that my site is working as expected.

    Plugin Author Paul Gilzow

    (@gilzow)

    Yes, your site is working as designed. The plan is to make the timeout value a setting in the options page, with a default of 60 minutes.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Auth Cookie Renewal’ is closed to new replies.