summaryrefslogtreecommitdiffstats
path: root/model/user.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-07-29 01:26:10 -0800
committer=Corey Hulen <corey@hulen.com>2015-07-29 01:26:10 -0800
commit9677a9f71777d75f3def0b0cb238050a30ec6a67 (patch)
tree8579fae8134ef2167a2cc97d95b0225e8acfdb46 /model/user.go
parent81e55eb57c367a1403f693712411c0781287ea55 (diff)
downloadchat-9677a9f71777d75f3def0b0cb238050a30ec6a67.tar.gz
chat-9677a9f71777d75f3def0b0cb238050a30ec6a67.tar.bz2
chat-9677a9f71777d75f3def0b0cb238050a30ec6a67.zip
Fixes mm-1355 adds rate limiting apis
Diffstat (limited to 'model/user.go')
-rw-r--r--model/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/user.go b/model/user.go
index c71d75405..ed5161538 100644
--- a/model/user.go
+++ b/model/user.go
@@ -51,6 +51,7 @@ type User struct {
NotifyProps StringMap `json:"notify_props"`
LastPasswordUpdate int64 `json:"last_password_update"`
LastPictureUpdate int64 `json:"last_picture_update"`
+ FailedAttempts int `json:"failed_attempts"`
}
type GitLabUser struct {