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
/
user.go
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
author
Lunny Xiao <xiaolunwen@gmail.com>
2014-05-11 11:56:04 +0800
committer
Lunny Xiao <xiaolunwen@gmail.com>
2014-05-11 11:56:04 +0800
commit
4d6de6c7b9715a6ccce3f09249b47b984b9a1295
(
patch
)
tree
9c0d588a94b5c9fea4b7bc35c8f65672fc7b7dfd
/
models/user.go
parent
43ffacd05b7b5c9d7b4966f4404a7dc53f2229aa
(
diff
)
add login name for auth type
Diffstat
(limited to 'models/user.go')
-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 b2b16f11..39709492 100644
--- a/
models/user.go
+++ b/
models/user.go
@@ -44,6 +44,7 @@ type User struct {
Passwd string `xorm:"not null"`
LoginType int
LoginSource int64 `xorm:"not null default 0"`
+ LoginName string
Type int
NumFollowers int
NumFollowings int