diff options
author | enahum <nahumhbl@gmail.com> | 2016-09-06 15:48:43 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 15:48:43 -0300 |
commit | 35b816b92217237de922c928a6623b5ac426655a (patch) | |
tree | adf7e7a96bd4b50aae0b295f94f8501643e7fc38 /model/user.go | |
parent | 9a9ae3dcd1c248a5d9e6f986ea967fa8bbf06f19 (diff) | |
download | chat-35b816b92217237de922c928a6623b5ac426655a.tar.gz chat-35b816b92217237de922c928a6623b5ac426655a.tar.bz2 chat-35b816b92217237de922c928a6623b5ac426655a.zip |
PLT-3921 Fix System Console Recent Active Users (#3856)
* PLT-3921 System Console Recent Active Users
Diffstat (limited to 'model/user.go')
-rw-r--r-- | model/user.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/model/user.go b/model/user.go index 434ce2732..680bc48c9 100644 --- a/model/user.go +++ b/model/user.go @@ -48,6 +48,7 @@ type User struct { Locale string `json:"locale"` MfaActive bool `json:"mfa_active,omitempty"` MfaSecret string `json:"mfa_secret,omitempty"` + LastActivityAt int64 `db:"-" json:"last_activity_at,omitempty"` } // IsValid validates the user and returns an error if it isn't configured |