aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/structs/user.go')
-rw-r--r--modules/structs/user.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/structs/user.go b/modules/structs/user.go
index 5ed677f239..7338e45739 100644
--- a/modules/structs/user.go
+++ b/modules/structs/user.go
@@ -35,9 +35,9 @@ type User struct {
// Is the user an administrator
IsAdmin bool `json:"is_admin"`
// swagger:strfmt date-time
- LastLogin time.Time `json:"last_login,omitempty"`
+ LastLogin time.Time `json:"last_login"`
// swagger:strfmt date-time
- Created time.Time `json:"created,omitempty"`
+ Created time.Time `json:"created"`
// Is user restricted
Restricted bool `json:"restricted"`
// Is user active