Issue 10518: "last-activity" instead of "login_date"

This commit is contained in:
Michael 2022-12-04 07:03:11 +00:00
parent 22e2578b23
commit 1d8c9276f3
13 changed files with 23 additions and 20 deletions

View file

@ -356,7 +356,7 @@ class Authentication
$this->dba->update('user', ['last-activity' => DateTimeFormat::utcNow('Y-m-d'), 'login_date' => DateTimeFormat::utcNow()], ['uid' => $user_record['uid']]);
// Set the login date for all identities of the user
$this->dba->update('user', ['login_date' => DateTimeFormat::utcNow()],
$this->dba->update('user', ['last-activity' => DateTimeFormat::utcNow('Y-m-d'), 'login_date' => DateTimeFormat::utcNow()],
['parent-uid' => $user_record['uid'], 'account_removed' => false]);
// Regularly update suggestions