diff --git a/client/app/pages/users/list.html b/client/app/pages/users/list.html
index b2a62243ac..c5cfd05f6c 100644
--- a/client/app/pages/users/list.html
+++ b/client/app/pages/users/list.html
@@ -46,6 +46,10 @@
Joined
+
+ Last Active At
+
+ |
|
@@ -62,6 +66,9 @@
|
+
+
+ |
-
\ No newline at end of file
+
diff --git a/redash/models.py b/redash/models.py
index a6d774c542..d11522c777 100644
--- a/redash/models.py
+++ b/redash/models.py
@@ -475,6 +475,8 @@ def to_dict(self, with_api_key=False):
if with_api_key:
d['api_key'] = self.api_key
+ d['last_active_at'] = Event.query.filter(Event.user_id == self.id).with_entities(Event.created_at).order_by(Event.created_at.desc()).first()
+
return d
def is_api_user(self):
|