summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-11-17 14:53:41 -0500
committerUnknwon <joe2010xtmf@163.com>2014-11-17 14:53:41 -0500
commit32dcaefafa6039e8fe27d263290e33ce5e5d3aa5 (patch)
tree689cfa7791c40b3d25a801c7b7cc3bf07f23ed7f /models
parentd1a60e364383b877fd98b853d94b739cb171fe9c (diff)
downloadgitea-32dcaefafa6039e8fe27d263290e33ce5e5d3aa5.tar.gz
gitea-32dcaefafa6039e8fe27d263290e33ce5e5d3aa5.zip
fox #620
Diffstat (limited to 'models')
-rw-r--r--models/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/user.go b/models/user.go
index 7038e075f8..31f4a289ff 100644
--- a/models/user.go
+++ b/models/user.go
@@ -67,6 +67,7 @@ type User struct {
Website string
IsActive bool
IsAdmin bool
+ AllowGitHook bool
Rands string `xorm:"VARCHAR(10)"`
Salt string `xorm:"VARCHAR(10)"`
Created time.Time `xorm:"CREATED"`