From 812f5664016deb596281d8119321833beafd4599 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Fri, 20 Oct 2017 20:26:45 -0400 Subject: Expose user.Props through REST API (#7661) --- model/user.go | 1 - 1 file changed, 1 deletion(-) (limited to 'model') 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 -- cgit v1.2.3-1-g7c22