Skip to content

Commit 237f847

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

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/private/User/Session.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,11 @@ protected function validateSession() {
214214
// Session was invalidated
215215
$this->logout();
216216
}
217+
218+
// Update last seen timestamp
219+
if ($this->isLoggedIn()) {
220+
$this->getUser()->updateLastLoginTimestamp();
221+
}
217222
}
218223

219224
/**

0 commit comments

Comments
 (0)