summaryrefslogtreecommitdiffstats
path: root/model/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/user.go')
-rw-r--r--model/user.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/model/user.go b/model/user.go
index 0ce8e1733..77dc04a03 100644
--- a/model/user.go
+++ b/model/user.go
@@ -35,7 +35,7 @@ type User struct {
Username string `json:"username"`
Password string `json:"password,omitempty"`
AuthData string `json:"auth_data,omitempty"`
- AuthService string `json:"auth_service,omitempty"`
+ AuthService string `json:"auth_service"`
Email string `json:"email"`
EmailVerified bool `json:"email_verified,omitempty"`
Nickname string `json:"nickname"`
@@ -233,7 +233,6 @@ func (u *User) ClearNonProfileFields() {
u.AuthData = ""
u.AuthService = ""
u.EmailVerified = false
- u.LastActivityAt = 0
u.LastPingAt = 0
u.AllowMarketing = false
u.Props = StringMap{}