Admin stay logged in longer?

kapearl

Member
I find myself logging into the visiolist admin a lot. What is the current time out for the login? Can it be extended?
 

Mark

Administrator
Staff member
try this:

open sources/misc/session.php

find:

PHP:
  $check_time = time() - 3600;
change to:
PHP:
  $check_time = time() - 86400;
that should give you 24 hour login session, you can adjust the duration as needed. We don't have a hook location for this so it cannot be done via plugin yet, but if you find this works I will add a hook here for upcoming release.
 

kapearl

Member
Thank you! This is very helpful. I check in a few times a day to approve new members and screenshots so this saves a step.
 

Mark

Administrator
Staff member
cool, well report back in a couple days and let me know if it did the trick or if I need to dig deeper
 

kapearl

Member
So far so good! If I close the browser I need to log back in but as long as the browser stays open and I'm checking back it it's keeping me logged in.
 
Top