add login name for auth type

This commit is contained in:
Lunny Xiao 2014-05-11 11:56:04 +08:00
parent 43ffacd05b
commit 4d6de6c7b9
5 changed files with 48 additions and 1 deletions

View file

@ -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