index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
models
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'models')
-rw-r--r--
models/user.go
1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/user.go b/models/user.go
index 76cf2d20..8f74fd53 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"`