summaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-20 07:50:26 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-20 07:50:26 -0400
commit9f9cd6bfc61d82ee0a3d31cee112be7975b8ca86 (patch)
tree1f50bb78b49e133425bc920ecfc9e25fe613823e /models/user.go
parent5cb2d3d2e233def07d6956af47dfc49acc45c7e6 (diff)
downloadgitea-9f9cd6bfc61d82ee0a3d31cee112be7975b8ca86.tar.gz
gitea-9f9cd6bfc61d82ee0a3d31cee112be7975b8ca86.zip
Work on admin
Diffstat (limited to 'models/user.go')
-rw-r--r--models/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/user.go b/models/user.go
index 76cf2d20ce..8f74fd53fb 100644
--- a/models/user.go
+++ b/models/user.go
@@ -51,6 +51,7 @@ type User struct {
Location string
Website string
IsActive bool
+ IsAdmin bool
Rands string `xorm:"VARCHAR(10)"`
Created time.Time `xorm:"created"`
Updated time.Time `xorm:"updated"`