aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/auth.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-05-11 14:12:45 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-05-11 14:12:45 +0800
commit55019bfbc5c2b7db7a1f861a90d97e6760433e4d (patch)
tree07a3ecf9e82b942b3428f0eaa7cce947dce743e8 /modules/auth/auth.go
parent4d6de6c7b9715a6ccce3f09249b47b984b9a1295 (diff)
parent7d84cc96e8da9f7389f855be4f86864039843e6c (diff)
merge all login methods
Diffstat (limited to 'modules/auth/auth.go')
-rw-r--r--modules/auth/auth.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/auth.go b/modules/auth/auth.go
index 4587b383..eefb5ed6 100644
--- a/modules/auth/auth.go
+++ b/modules/auth/auth.go
@@ -27,6 +27,7 @@ type RegisterForm struct {
Password string `form:"passwd" binding:"Required;MinSize(6);MaxSize(30)"`
RetypePasswd string `form:"retypepasswd"`
LoginType string `form:"logintype"`
+ LoginName string `form:"loginname"`
}
func (f *RegisterForm) Name(field string) string {