diff options
| author | 2020-05-09 11:49:49 +0100 | |
|---|---|---|
| committer | 2020-05-09 12:49:49 +0200 | |
| commit | be10486f5e45148c78ab0c0a57a4056d5fc2889a (patch) | |
| tree | 0cedad1658d91c0aea5e776e48dc3bb06bc4b435 /app/Controllers/userController.php | |
| parent | 17539668eac84b9f7b86de036c9e23fa226054d6 (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.php | 1 |
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)), ); } } |
