aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/userController.php
diff options
context:
space:
mode:
authorGravatar equinoxmatt <me@mattbutterworth.co.uk> 2020-05-09 11:49:49 +0100
committerGravatar GitHub <noreply@github.com> 2020-05-09 12:49:49 +0200
commitbe10486f5e45148c78ab0c0a57a4056d5fc2889a (patch)
tree0cedad1658d91c0aea5e776e48dc3bb06bc4b435 /app/Controllers/userController.php
parent17539668eac84b9f7b86de036c9e23fa226054d6 (diff)
2914 show last login date (#2936)
* Add new last_login param to default user config * Add English translation strings for last login feature * Update last_login when user successfully logs in. * Add last_login column to manage users screen * Add last_login to user details screen * Remove accidental docker-compose.yml * Fix whitespace * Use last modified time for config file * Remove last_login field from default user config * Touch user configuration file upon succesful login * Add translations with todos * Fix whitespace * Use last_user_activity * Semi-colomn Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/Controllers/userController.php')
-rw-r--r--app/Controllers/userController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php
index 5da42f5a4..491350ef3 100644
--- a/app/Controllers/userController.php
+++ b/app/Controllers/userController.php
@@ -616,6 +616,7 @@ class FreshRSS_user_Controller extends Minz_ActionController {
'language' => $userConfiguration->language,
'mail_login' => $userConfiguration->mail_login,
'is_admin' => $userConfiguration->is_admin,
+ 'last_user_activity' => date('c', FreshRSS_UserDAO::mtime($username)),
);
}
}