summaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-28 16:44:04 +0800
committerUnknwon <u@gogs.io>2015-08-28 16:44:04 +0800
commit46bee50e45ef8f3e9f3727649fa24d50bb2fc782 (patch)
tree3b55f109f957c54890972d533af435d3a3ed8e96 /models/user.go
parent4cfa2ca40d4f211a124ab9973dfc814190b758b9 (diff)
downloadgitea-46bee50e45ef8f3e9f3727649fa24d50bb2fc782.tar.gz
gitea-46bee50e45ef8f3e9f3727649fa24d50bb2fc782.zip
complate list of gitignores and licenses
Diffstat (limited to 'models/user.go')
-rw-r--r--models/user.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/models/user.go b/models/user.go
index 1935799041..c548d6d2e3 100644
--- a/models/user.go
+++ b/models/user.go
@@ -69,6 +69,9 @@ type User struct {
Created time.Time `xorm:"CREATED"`
Updated time.Time `xorm:"UPDATED"`
+ // Remember visibility choice for convenience.
+ LastRepoVisibility bool
+
// Permissions.
IsActive bool
IsAdmin bool