Skip to content

Commit

Permalink
fix(session): Update last seen when user session is validated
Browse files Browse the repository at this point in the history
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
  • Loading branch information
solracsf authored Feb 15, 2025
1 parent ba3868a commit a1bc474
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/private/User/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ protected function validateSession() {
// Session was invalidated
$this->logout();
}

// Update last seen timestamp
if ($this->isLoggedIn()) {
$this->getUser()->updateLastLoginTimestamp();
}
}

/**
Expand Down

0 comments on commit a1bc474

Please sign in to comment.