summaryrefslogtreecommitdiffstats
path: root/model/user.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-10-20 20:26:45 -0400
committerCorey Hulen <corey@hulen.com>2017-10-20 17:26:45 -0700
commit812f5664016deb596281d8119321833beafd4599 (patch)
tree67c9e06244bcf6b3c327999427d685ee56a6afcf /model/user.go
parent9d9c73741477632fc5222a0a27d28c14d43b3fbd (diff)
downloadchat-812f5664016deb596281d8119321833beafd4599.tar.gz
chat-812f5664016deb596281d8119321833beafd4599.tar.bz2
chat-812f5664016deb596281d8119321833beafd4599.zip
Expose user.Props through REST API (#7661)
Diffstat (limited to 'model/user.go')
-rw-r--r--model/user.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/model/user.go b/model/user.go
index ab4b21e23..8a2c5930c 100644
--- a/model/user.go
+++ b/model/user.go
@@ -346,7 +346,6 @@ func (u *User) ClearNonProfileFields() {
u.MfaSecret = ""
u.EmailVerified = false
u.AllowMarketing = false
- u.Props = StringMap{}
u.NotifyProps = StringMap{}
u.LastPasswordUpdate = 0
u.FailedAttempts = 0