Version 4.3.6

This commit is contained in:
Neo committed 2025-12-19 05:49:12 -08:00
1 parent fe1acf984a
commit 1a0c7fd3c2
609 files changed
+14707 -5726

No files matched your search

+12 -2
View File
@@ -186,10 +186,10 @@ abstract class _Session
/* Set the last activity */
if ( isset( $this->data ) and $this->data['login_type'] != static::LOGIN_TYPE_ANONYMOUS and ! \IPS\Request::i()->isAjax() )
{
if ( time() - $this->member->last_visit > 3600 )
if ( time() - $this->member->last_activity > 3600 )
{
$save = TRUE;
$this->member->last_visit = time();
$this->member->last_visit = $this->member->last_activity;
}
if ( time() - $this->member->last_activity > 180 )
{
@@ -212,6 +212,16 @@ abstract class _Session
}
}
}
/**
* Do not update sessions
*
* @return void
*/
public function noUpdate()
{
/* Overridden methods do something (or not) */
}
/**
* CSRF Check