Skip to content

Commit a1bc474

Browse files
authored
fix(session): Update last seen when user session is validated
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
1 parent ba3868a commit a1bc474

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/private/User/Session.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,11 @@ protected function validateSession() {
210210
// Session was invalidated
211211
$this->logout();
212212
}
213+
214+
// Update last seen timestamp
215+
if ($this->isLoggedIn()) {
216+
$this->getUser()->updateLastLoginTimestamp();
217+
}
213218
}
214219

215220
/**

0 commit comments

Comments
 (0)